diff --git a/programs/rust.nix b/programs/rust.nix index 75ed3d8..7d4f590 100644 --- a/programs/rust.nix +++ b/programs/rust.nix @@ -7,10 +7,7 @@ toml = pkgs.formats.toml {}; in { hm.home.file.".cargo/config.toml".source = toml.generate "config.toml" { - build = { - rustc-wrapper = "${lib.getExe' pkgs.sccache "sccache"}"; - target-dir = "${config.hm.home.homeDirectory}/.cargo/target"; - }; + build.target-dir = "${config.hm.home.homeDirectory}/.cargo/target"; target.x86_64-unknown-linux-gnu = { linker = "${lib.getExe pkgs.clang}";