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

Marc Weber marco-oweber at gmx.de
Tue Dec 13 22:49:28 CET 2011


Excerpts from Florian Friesdorf's message of Tue Dec 13 22:42:47 +0100 2011:
> How difficult would it be to have a flag to keep garbage collection from
> removing sources?

There is an option
grep for those settings in nix docs or nix code:

  gc-keep-outputs = true
  gc-keep-derivations = true

Can't look it up right now. But there you'll find everything which does
exist right now. If nothing else works: create a new derivation
depending on all sources - install than and you're done.

There are various ways.

Marc Weber


More information about the nix-dev mailing list