[Nix-dev] dist-upgrade? define channel declaratively?

Domen Kožar domen at dev.si
Wed Jan 13 22:42:02 CET 2016


http://nixos.org/nixos/manual/index.html#sec-upgrading

On Wed, Jan 13, 2016 at 10:40 PM, Matthew O'Gorman <mog at rldn.net> wrote:

> Hi
>
> I started playing with nixos-containers and have been very pleased so
> far.  I wanted to try running unstable in one, but haven't been able to
> figure out how to do so.  I tried setting these in my configuration of
> the container
>
> system.stateVersion = "unstable";
> system.defaultChannel = "https://nixos.org/channels/unstable";
>
> but it didn't change anything on a nixos-rebuild switch --upgrade
>
> How can one define and use channels in the config files?  How does
> someone do a dist-upgrade from 15.09 to unstable?  Sorry if these are
> dumb questions.  I can't seem to find answer in the manuals or in irc.
>
> --
> Matthew O'Gorman
> BM-NBUmia4p88Jny5bZbRGcMt64SWWp5WVv
> TorChat: 5w3dtk7nhkkijcpc
> Site: https://b.rldn.net
> Xim/Email: mog at rldn.net
> mog at rldn:~$ fortune wisdom -s|cowsay -f /dev/null
>  ______________________________________
> / If a man loses his reverence for any \
> | part of life, he will lose his       |
> | reverence for all of life.           |
> |                                      |
> \ -- Albert Schweitzer                 /
>  --------------------------------------
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160113/7a80f8cc/attachment.html 


More information about the nix-dev mailing list