[Nix-dev] garbage collecting source (was: btrfs-progs (was: contributing to nixpkgs/nixos))

Michael Raskin 7c6f434c at mail.ru
Tue Dec 13 22:55:49 CET 2011


>On Tue, 13 Dec 2011 01:29:39 +0400, Michael Raskin <7c6f434c at mail.ru> wrote:
>> >Does hydra keep mirrored copies of sources around for every binary it serves?
>> >And I guess it won't build the same package every night if no inputs
>> >change, so if sources become unavailable, won't maintainers notice?
>> 
>> Hydra keeps sources for some time, but they are not GC-pinned.
>
>How difficult would it be to have a flag to keep garbage collection from
>removing sources?
>
>I like to garbage collect, but I don't like lacking sources of installed
>things when being offline.

It is one (documented) option of Nix + realising all dependencies of the
system derivation





More information about the nix-dev mailing list