devos/profiles/rust/default.nix
2023-01-05 23:57:37 +01:00

13 lines
294 B
Nix

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