blob: 96646690243d7bc29fbdd77e9c5361db9c162d2a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ pkgs, ... }:
{
home.packages = with pkgs; [
cargo-outdated
cargo-watch
cargo-make
cargo-cache
rustup
cargo-udeps
(callPackage ../../../../../pkgs/cargo-clean-all.nix { })
];
home.file.".local/share/cargo/config.toml".text = with pkgs; ''
[build]
rustc-wrapper = "${sccache}/bin/sccache"
[target.x86_64-unknown-linux-gnu]
linker = "${clang}/bin/clang"
rustflags = ["-Clink-args=-fuse-ld=${mold}/bin/mold"]
'';
}
|