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

Florian Friesdorf flo at chaoflow.net
Tue Dec 20 01:50:05 CET 2011


On Mon, 19 Dec 2011 23:35:41 +0400, Michael Raskin <7c6f434c at mail.ru> wrote:
> >> nix-store -r $(nix-store -q --deriver $(nix-instanctiate /etc/nixos/nixos -A system))
> >
> >$ nix-instantiate /etc/nixos/nixos -A system
> >warning: you did not specify `--add-root'; the result might be removed by the garbage collector
> >/nix/store/8vpxk1df3zc4c9l8mv4fj32ma173nm4g-system.drv 
> >
> >The warning can be ignored I assume, given that no changes were made to
> >configuration.nix, nixpkgs, nixos since the last nixos-rebuild.
> >
> >
> >$ nix-store -q --deriver $(nix-instantiate /etc/nixos/nixos/ -A system)
> >warning: you did not specify `--add-root'; the result might be removed by the garbage collector
> >unknown-deriver
> >
> >NOTE: --deriver is not listed by 'nix-store --help', but documented in
> >the man page.
> >
> >However, I don't know how to fix that command line.
> 
> 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?

-- 
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/1f6e8cbe/attachment.bin 


More information about the nix-dev mailing list