1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2026-01-21 20:51:10 +00:00
ncc/modules/common/rust.nix

24 lines
392 B
Nix

{ lib, pkgs, ... }: let
inherit (lib) attrValues;
in {
environment.variables.CARGO_NET_GIT_FETCH_WITH_CLI = "true";
environment.systemPackages = attrValues {
inherit (pkgs)
cargo-expand
cargo-fuzz
evcxr
taplo
;
fenix = pkgs.fenix.complete.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
];
};
}