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

2011-12-20 Thread Florian Friesdorf
On Tue, 20 Dec 2011 08:27:16 +0400, Michael Raskin 7c6f4...@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?

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

2011-12-20 Thread Florian Friesdorf
On Tue, 20 Dec 2011 08:27:16 +0400, Michael Raskin 7c6f4...@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?

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

2011-12-20 Thread Florian Friesdorf
On Tue, 20 Dec 2011 12:05:00 +0100, Florian Friesdorf f...@chaoflow.net wrote: On Tue, 20 Dec 2011 08:27:16 +0400, Michael Raskin 7c6f4...@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

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

2011-12-20 Thread Michael Raskin
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

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

2011-12-19 Thread Florian Friesdorf
On Mon, 19 Dec 2011 01:09:51 +0400, Michael Raskin 7c6f4...@mail.ru 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

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

2011-12-19 Thread Florian Friesdorf
On Mon, 19 Dec 2011 23:35:41 +0400, Michael Raskin 7c6f4...@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