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

Florian Friesdorf flo at chaoflow.net
Sat Dec 17 16:08:21 CET 2011


On Tue, 13 Dec 2011 22:49:28 +0100, Marc Weber <marco-oweber at gmx.de> wrote:
> 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

thx, that was it, being even the example for nix.extraOptions in 'man
configuration.nix'.

> 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
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

-- 
Florian Friesdorf <flo at chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20111217/a0b1d544/attachment.bin 


More information about the nix-dev mailing list