|
|
|
|
|
by TremendousT
3036 days ago
|
|
Heh- after a many years haitus from running any kind of UNIX/Linux at home, I was thinking about installing a Linux based distro and NixOS was near the top of my list to try. How does this 2.0 Nix release effect a new install of NixOS- should I wait a bit for a corresponding overhaul of NixOS to come out? I suspect theoretically it's not necessary, but wondering if NixOS will be tracking this Nix release in some way shortly... Anyone know? |
|
You can switch which version of Nix you're using whenever you want, and you can install multiple versions of Nix side-by-side if you want to, just like with any other package. To install Nix 2.0 on an older release of Nixpkgs/NixOS, just use the package `nixUnstable`. You can install it with `nix-env` if you want to try it out right now.
The only real differences between a typical upgrade and upgrading between releases are:
1. You'll need more storage space for the course of the upgrade, because most of your dependencies have been updated.
2. You might have to change your config up a little, because a few packages have been removed, renamed, or are out of date.
You still get all the nice rollback features that you're used to, and if Nix 1.x is part of your old system profile and 2.0 part of your new one, when you roll back, Nix will roll back, too.
To more directly answer your question: NixOS 18.03 will indeed include Nix 2.0.