devos/profiles/rust/default.nix
2022-07-11 13:55:29 +02:00

12 lines
276 B
Nix

{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
fenix.latest.toolchain
cargo-edit
cargo-crev
cargo-watch
cargo-fuzz
cargo-expand
];
environment.variables.RUST_SRC_PATH = "${pkgs.fenix.latest.rust-src}/lib/rustlib/src/rust/library/";
}