Skip to content

Commit

Permalink
feat(programs): remove sscache from rust config
Browse files Browse the repository at this point in the history
  • Loading branch information
uku3lig committed May 20, 2024
1 parent 0bfa181 commit 403292f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions programs/rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}";
Expand Down

0 comments on commit 403292f

Please sign in to comment.