On Tue, 20 Dec 2011 12:05:00 +0100, Florian Friesdorf <[email protected]> wrote: > On Tue, 20 Dec 2011 08:27:16 +0400, Michael Raskin <[email protected]> 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 added it to the FAQ: > https://nixos.org/wiki/FAQ#How_to_keep_build-time_dependencies_around_.2F_be_able_to_rebuild_while_being_offline > > In the manpage of nix-store I found '--include-outputs' and am not fully > sure about its effect. By diffing I found that it mostly lists tarballs > in the store and I assume I do not need to realise them explicitly as > they are realised by realising the closure's paths and kept by having > gc-keep-outputs - correct? Nomenclature violated?
Interestingly it makes no difference when used with my user profile: nix-store -qR --include-outputs ~/.nix-profile > > I just use nix-reduce build and so I sometimes forget what Nix commands > > are actually used. > > What is nix-reduce / how do I get it and more information about it? I > found some references to it, but it's not in my path and grep/find on > /etc/nixos also did not reveal it. > > Thx a lot - already very happy over here! -- 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
pgptNAOeBQ6cd.pgp
Description: PGP signature
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
