On Mon, 19 Dec 2011 01:09:51 +0400, Michael Raskin <[email protected]> wrote:
> >> It is one (documented) option of Nix + realising all dependencies of the
> >> system derivation
> >
> >How do I force nixos-rebuild to realize all dependencies?
> 
> 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.

-- 
Florian Friesdorf <[email protected]>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: [email protected]
IRC: chaoflow on freenode,ircnet,blafasel,OFTC

Attachment: pgpZfXEroN04f.pgp
Description: PGP signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to