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

Michael Raskin 7c6f434c at mail.ru
Tue Dec 20 05:27:16 CET 2011


>> 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.





More information about the nix-dev mailing list