14 lines
299 B
Nix
14 lines
299 B
Nix
{ pkgs, ... }:
|
|
let
|
|
fenix = pkgs.fenix;
|
|
in
|
|
{
|
|
environment.systemPackages = [
|
|
fenix.latest.toolchain
|
|
#fenix.rust-analyzer
|
|
pkgs.rust-analyzer
|
|
pkgs.cargo-edit
|
|
pkgs.cargo-crev
|
|
];
|
|
environment.variables.RUST_SRC_PATH = "${fenix.latest.rust-src}/lib/rustlib/src/rust/library/";
|
|
}
|