diff options
Diffstat (limited to 'modules/by-name/ca/cargo/module.nix')
| -rw-r--r-- | modules/by-name/ca/cargo/module.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/by-name/ca/cargo/module.nix b/modules/by-name/ca/cargo/module.nix index 6a0675d3..6b675a03 100644 --- a/modules/by-name/ca/cargo/module.nix +++ b/modules/by-name/ca/cargo/module.nix @@ -27,7 +27,12 @@ in { cargoHome = "${config.home-manager.users.soispha.xdg.dataHome}/cargo"; settings = { - build.build-dir = "${config.home-manager.users.soispha.xdg.cacheHome}/cargo/shared-target/"; + # NOTE: Don't directly use the `shared-target` path, so we can allow this + # directory in the landrun-fish script and don't get issues because `cargo + # clean` removes it. Otherwise, a `cargo clean` means, that all currently + # running sandboxed shells need to be re-loaded to give them access to the than + # newly created `shared-target` <2026-10-06> + build.build-dir = "${config.home-manager.users.soispha.xdg.cacheHome}/cargo/shared-target/inner/"; }; }; }; |
