Price Hiller
89925ecbcb
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
28 lines
512 B
Nix
28 lines
512 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
home = {
|
|
sessionVariables = {
|
|
CARGO_HOME = "${config.xdg.dataHome}/cargo";
|
|
RUSTUP_HOME = "${config.xdg.dataHome}/rustup";
|
|
RUST_SRC_PATH = "${pkgs.fenix.complete.rust-src}/lib/rustlib/src/rust/library";
|
|
};
|
|
packages = with pkgs; [
|
|
(pkgs.fenix.complete.withComponents [
|
|
"cargo"
|
|
"clippy"
|
|
"rust-src"
|
|
"rustc"
|
|
"rustfmt"
|
|
])
|
|
rust-analyzer-nightly
|
|
cargo-watch
|
|
cargo-nextest
|
|
];
|
|
|
|
};
|
|
}
|