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

Matthew O'Gorman mog at rldn.net
Wed Jan 13 22:40:54 CET 2016


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                 /
 -------------------------------------- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160113/820fbf0b/attachment.bin 


More information about the nix-dev mailing list