3 ms·
It looks like `--store` might be a way to get this, but I'm not sure if thats cross-platform.
by JamesSwift 4y ago
It looks like `--store` might be a way to get this, but I'm not sure if thats cross-platform.
- n8henrie 4y ago`nix develop --store`? I'm not seeing anything about it (on mobile at least): - https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-develop.html https://nixos.org/manual/nix/unstable/command-ref/new-cli/ni... - https://nixos.wiki/wiki/Nix_command/develop https://nixos.wiki/wiki/Nix_command/develop
- JamesSwift 4y agoIts actually part of the nix config, which is also able to be overridden in the CLI: https://nixos.org/manual/nix/stable/command-ref/conf-file.html#conf-store https://nixos.org/manual/nix/stable/command-ref/conf-file.ht... Note this will bust your local cache as well as the hydra cache since I'm pretty sure they depend on the store prefix.
- n8henrie 4y agoGotcha, thanks. Not sure how this would help replace `--pure` though.
- JamesSwift 4y agoYeah now that I think about it youre right :D It would only "purify" your nix dependencies, but wouldnt purify your environmental ones necessarily.