Re: [Nix-dev] Upgrade from 15.09 to 16.03 with NixOps
> 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 +, 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 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" <4lev...@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@lists.science.uu.nl > >> http://lists.science.uu.nl/mailman/listinfo/nix-dev > >> > >> ___ > > nix-dev mailing list > > nix-dev@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@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev -- Eric Sagnes サニエ エリック ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Upgrade from 15.09 to 16.03 with NixOps
Hi Teo, Kevin and Wout, thank you all for your kind support. I do add the nixpkgs line and things seem to work correctly. I was just getting confused as this change initially didn't trigger a rebuild of the deployed system. Kind regards, Erik On Wed, Apr 20, 2016 at 11:42 PM 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 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" <4lev...@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@lists.science.uu.nl >>> http://lists.science.uu.nl/mailman/listinfo/nix-dev >>> >>> ___ >> nix-dev mailing list >> nix-dev@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@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Upgrade from 15.09 to 16.03 with NixOps
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 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" <4lev...@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@lists.science.uu.nl >> http://lists.science.uu.nl/mailman/listinfo/nix-dev >> >> ___ > nix-dev mailing list > nix-dev@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@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Upgrade from 15.09 to 16.03 with NixOps
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" <4lev...@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@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev > > ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Upgrade from 15.09 to 16.03 with NixOps
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@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev