[Nix-dev] Upgrade from 15.09 to 16.03 with NixOps

Eric Sagnes eric.sagnes at gmail.com
Thu Apr 21 13:14:04 CEST 2016


> The expressions are evaluated from the coordinator, so either you upgrade
> the channel there or you check out nixpkgs somewhere and set
> `NIX_PATH=nixpkgs=/path/to/your/clone` before running nixops.

It is also possible to use `-I nixpkgs=` and point directly to the
channel you want to use:

nixops deploy -d DEPLOYMENT -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-16.03.tar.gz

On Wed, Apr 20, 2016 at 09:42:37PM +0000, Wout Mertens wrote:
> The expressions are evaluated from the coordinator, so either you upgrade
> the channel there or you check out nixpkgs somewhere and set
> `NIX_PATH=nixpkgs=/path/to/your/clone` before running nixops.
> 
> On Wed, Apr 20, 2016 at 1:52 PM Teo Klestrup <teozkr at gmail.com> wrote:
> 
> > I believe the channels are taken from the coordinator, so when the
> > coordinator is upgraded then the other machines should be, too.
> > On 18 Apr 2016 19:20, "4levels" <4levels at gmail.com> wrote:
> >
> >> Hi Nix'ers,
> >>
> >> This is an Nix Ops related question.
> >>
> >> How can I specify which channel to use inside the nix expressions (*.nix
> >> files) for nixops?
> >>
> >> Thanks in advance!
> >>
> >> Erik
> >>
> >> _______________________________________________
> >> 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
> >
> -- 
> 
> Wout.
> (typed on mobile, excuse terseness)

> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


-- 
Eric Sagnes
サニエ エリック


More information about the nix-dev mailing list