With nodePackages.jsontool installed:

$ nix-env -i $(curl -LH "Accept: Application/JSON" 
http://hydra.nixos.org/job/nix/master/build.x86_64-linux/latest | json 
buildoutputs.out.path)

Bjørn Forsman <[email protected]> writes:

> On 30 June 2016 at 17:12, Domen Kožar <[email protected]> wrote:
>> Did you try running switch? It should know how to upgrade Nix.
>
> Doesn't work. "sudo nixos-rebuild build|switch" gives the same error.
> Is that feature perhaps only available in newer NixOS releases?
>
> This system isn't that important to me, but what is important is that
> (in the future) I'll be able to easily upgrade old installations.
>
> - Bjørn
> _______________________________________________
> 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

Reply via email to