[Nix-dev] How to stop nix-collect-garbage from expiring source code tarballs?

Peter Simons simons at cryp.to
Thu Dec 17 12:11:13 CET 2009


Hi,

I usually set "gc-keep-outputs = true" in ~/.nix-profile/etc/nix/nix.conf to
keep nix-collect-garbage from expiring build-time dependencies. I do that,
because prefer to keep downloaded source tarballs around in /nix/store. This
always worked fine, but after updating Nix 0.14pre18861 recently, source
tarballs appear to be garbage collected anyway.

Has the behavior of Nix changed in that regard? Or am I doing something wrong?

And if there was such a change, then I wonder what the motivation behind it
was?

Take care,
Peter




More information about the nix-dev mailing list