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

Florian Friesdorf flo at chaoflow.net
Tue Dec 20 09:36:47 CET 2011


On Tue, 20 Dec 2011 08:27:16 +0400, Michael Raskin <7c6f434c at mail.ru> wrote:
> 
> >> Hm, sorry, piled too much into one line
> >> 
> >> nix-store -r $(nix-instanctiate /etc/nixos/nixos -A system)
> >
> >For me that just prints the path to the system derivation - does that
> >mean that everything is instantiated?
> 
> Ah, that's what I missed.
> 
> nix-store -qR $(nix-instantiate /etc/nixos/nixos -A system) | xargs nix-store -r
> 
> I just use nix-reduce build and so I sometimes forget what Nix commands
> are actually used.

That does it - thx a lot!

-- 
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/20111220/5ff5137a/attachment.bin 


More information about the nix-dev mailing list