Saving dev shells from GC: `nix develop --profile` VS `nix build .#devShells`
NixOS Discourse
Saving dev shells from GC: `nix develop --profile` VS `nix build .#devShells`
Hello! I’ve been exploring different methods for preserving Nix development shells from garbage collection. After reading a bit about it, I came across two suggestions that don’t require external tools: Using nix develop --profile Using nix build .#devShells.${system}.default [1] If I understand correctly, nix develop --profile seems to be the recommended way to do that with the new CLI, and it does work perfectly for me. However, I was a bit curious and wanted to see if I could achieve th...
0 comments
No comments yet.