blob: 80b22ae497780ecfa224bfb1a5875bf8d04bd792 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ pkgs, inputs, ... }:
{
home.packages = with pkgs; [
cargo-outdated
cargo-watch
cargo-make
cargo-cache
rustup
cargo-udeps
inputs.tsutsumi.packages.${pkgs.system}.cargo-clean-all
];
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"]
'';
}
|