aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/ca/cargo/module.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-09-21 21:55:35 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-09-21 21:55:35 +0200
commitca7451053ab5e115a16d6fa0163abe21b002b972 (patch)
tree92ea166205f4b4b0e5d84bab1c032c3f64a4b510 /modules/by-name/ca/cargo/module.nix
parentmodules/direnv/landrun-fish: Immediately load the devshell (diff)
downloadnixos-config-ca7451053ab5e115a16d6fa0163abe21b002b972.zip
modules/{cargo,direnv/landrun-fish}: Re-introduce cargo's `shared-target`
Diffstat (limited to '')
-rw-r--r--modules/by-name/ca/cargo/module.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/by-name/ca/cargo/module.nix b/modules/by-name/ca/cargo/module.nix
index ee7dffaa..6a0675d3 100644
--- a/modules/by-name/ca/cargo/module.nix
+++ b/modules/by-name/ca/cargo/module.nix
@@ -27,10 +27,7 @@ in {
cargoHome = "${config.home-manager.users.soispha.xdg.dataHome}/cargo";
settings = {
- # NOTE: This unfortunately does not work anymore with the sandboxing :( (because
- # cargo tries to rename some files, which ends in OS errors 18 because of
- # landlock) <2026-09-06>
- # build.build-dir = "${config.home-manager.users.soispha.xdg.cacheHome}/cargo/shared-target/";
+ build.build-dir = "${config.home-manager.users.soispha.xdg.cacheHome}/cargo/shared-target/";
};
};
};