Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pshirshov
8 months ago
|
parent
|
context
|
favorite
| on:
You do not need NixOS on the desktop
> eventually the nixpkgs of the project is garbage collected
You should manually create a garbage collection root (that pesky 'result' symlink, --out-link)
sshine
8 months ago
[–]
Are you saying that the presence of a result/ symlink means the sources are kept, and if I remove the result/ symlink, it gets gc’ed?
pshirshov
8 months ago
|
parent
[–]
Yes, gc root links are accounted at the moment they are written by nix and they retain the graph while they are continue to exist.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
You should manually create a garbage collection root (that pesky 'result' symlink, --out-link)