[Nix-dev] nixos-rebuild issues

Shea Levy shea at shealevy.com
Thu Dec 20 23:56:46 CET 2012


I give up! Just remove the new line in the first command.

On 12/20/2012 05:57 PM, shea at shealevy.com wrote:
> Gah! Now I definitely look a fool :)
>
> # $(nix-build -A system "<nixos>"
> --no-out-link)/bin/switch-to-configuration test
> # nixos-rebuild switch/boot/whatever
>
> On 2012-12-20 17:52, Shea Levy wrote:
>> Argh, sorry, Thunderbird wrapped where it shouldn't have. For
>> clarification, the commands are:
>>
>> # $(nix-build -A system "<nixos>"
>> --no-out-link)/bin/switch-to-configuration test
>> # nixos-rebuild switch/boot/whatever
>>
>> On 12/20/2012 05:50 PM, Shea Levy wrote:
>>> 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 <aszlig at redmoonstudios.org>
>>>> 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
>>>> nix-dev at lists.science.uu.nl
>>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>> _______________________________________________
>>> nix-dev mailing list
>>> nix-dev at lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev



More information about the nix-dev mailing list