[Nix-dev] nix-store --gc doesn't honor gc-keep-outputs (was: How to stop nix-collect-garbage from expiring source code tarballs?)

Lluís Batlle viriketo at gmail.com
Tue Dec 22 13:21:28 CET 2009


2009/12/22 Peter Simons <simons at cryp.to>:
> Hi Eelco,
>
>  > I can't reproduce this: [...]
>
> I can reproduce that error on three different platforms using 0.14pre19016. No
> matter whether it's Linux/x86, Linux/x86_64, or Darwin/x86, nix-collect-garbage
> expires all source code tarballs regardless of the "gc-keep-outputs = true"
> setting in ~/.nix-profile/etc/nix/nix.conf. I even tried it again after
I think nix will check for /etc/nix.conf or /etc/nix/nix.conf.
I don't think it will read the configuration from the profile.

But well, I have not tried. Can you check using those nix.conf files?
Have you noticed in any way if your nix.conf is read at all, through
other nix options?

Regards,
Lluís.



More information about the nix-dev mailing list