12 lines
262 B
Nix
12 lines
262 B
Nix
{ pkgs, ... }:
|
|
let
|
|
fenix = pkgs.fenix;
|
|
in
|
|
{
|
|
environment.systemPackages = [
|
|
fenix.stable.defaultToolchain
|
|
fenix.rust-analyzer
|
|
pkgs.cargo-edit
|
|
];
|
|
environment.variables.RUST_SRC_PATH = "${fenix.stable.rust-src}/lib/rustlib/src/rust/library/";
|
|
}
|