Y
Hacker News
new
|
ask
|
show
|
jobs
by
pshirshov
392 days ago
> eventually the nixpkgs of the project is garbage collected
You should manually create a garbage collection root (that pesky 'result' symlink, --out-link)
1 comments
sshine
391 days 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?
link
pshirshov
391 days ago
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.
link