[Nix-dev] How to upgrade when Nix is too old to evaluate nixpkgs
Shea Levy
shea at shealevy.com
Thu Jun 30 17:37:21 CEST 2016
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 <bjorn.forsman at gmail.com> writes:
> On 30 June 2016 at 17:12, Domen Kožar <domen at dev.si> 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
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
More information about the nix-dev
mailing list