aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/ca/cargo
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-14 00:33:18 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-14 00:33:18 +0200
commite166ef50e99cfd2a4451adc922d936ef116899c9 (patch)
treebac747e09f8c2686fa44b848bf0684938b8da4e9 /modules/by-name/ca/cargo
parentpkgs/tails-iso/update.sh: Don't re-download when the version didn't change (diff)
downloadnixos-config-e166ef50e99cfd2a4451adc922d936ef116899c9.zip
modules/cargo: Move the shared-target to `.cache`
That means it's no longer synchronized or backup-ed (without special exclude filters.)
Diffstat (limited to 'modules/by-name/ca/cargo')
-rw-r--r--modules/by-name/ca/cargo/module.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/by-name/ca/cargo/module.nix b/modules/by-name/ca/cargo/module.nix
index d36a11e5..6a0675d3 100644
--- a/modules/by-name/ca/cargo/module.nix
+++ b/modules/by-name/ca/cargo/module.nix
@@ -27,8 +27,7 @@ in {
cargoHome = "${config.home-manager.users.soispha.xdg.dataHome}/cargo";
settings = {
- # {cargo-cache-home} means $CARGO_HOME
- build.build-dir = "{cargo-cache-home}/shared-target/";
+ build.build-dir = "${config.home-manager.users.soispha.xdg.cacheHome}/cargo/shared-target/";
};
};
};