Hi Jan, This is actually a problem with nix-1.2 client interacting poorly with nix-1.1 daemon (https://github.com/NixOS/nix/issues/76). The workaround for now is to run the following as root:
# $(nix-build -A system "<nixos>" --no-out-link)/bin/switch-to-configuration test # nixos-rebuild switch/boot/whatever Cheers, Shea Levy On 12/20/2012 05:44 PM, Jan Malakhovski wrote: > Hello, > > ~~~~ > commit a9edaf10ed7570f66f17130c82a4e4170e80bfbb > Merge: 5f8647e c6bf1f8 > Author: aszlig <[email protected]> > Date: Fri Dec 7 18:48:26 2012 +0100 > > Merge pull request #207 from washort/mysql55 > > And sorry to @washort for bugging him too much with the syntax. > ~~~~ > > breaks nixos-rebuild for me: > > ~~~~ > # nixos-rebuild build --show-trace > building Nix... > building the system configuration... > these derivations will be built: > .... long list of derivations .... > error: build of > `/nix/store/dvv0czxamgsrf01935dz0kxchhsj4zxl-nixos-0.1pre-git.drv!out' failed > ~~~~ > just like that. > > Commit c6bf1f works fine, all the recent ones tried by bisect failed. > > Also, today I tried to install NixOS onto a machine behind strict network > gateway with a proxy. I forgot to set nix.proxy in configuration.nix while in > installer, but after a reboot I couldn't rebuild the system with > nixos-rebuild. nixos-rebuild wasn't passing the http_proxy environment > varible to the daemon, or so it looked. > I tried something like > nix-build <nixos> -A system > and it, quite unexpectedly, worked. > > Best regards, > Jan Malakhovski > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
