diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-09-23 11:50:23 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-09-23 12:01:58 -0400 |
commit | 1146ae1a7194bb231269bdb9587a85703e38a2a6 (patch) | |
tree | abb731d7d214bb031329f0d1e0c11638c39a3da5 /nixos | |
parent | fe20b58d6676858802cd627721c782f65d48a43b (diff) | |
download | nixlib-1146ae1a7194bb231269bdb9587a85703e38a2a6.tar nixlib-1146ae1a7194bb231269bdb9587a85703e38a2a6.tar.gz nixlib-1146ae1a7194bb231269bdb9587a85703e38a2a6.tar.bz2 nixlib-1146ae1a7194bb231269bdb9587a85703e38a2a6.tar.lz nixlib-1146ae1a7194bb231269bdb9587a85703e38a2a6.tar.xz nixlib-1146ae1a7194bb231269bdb9587a85703e38a2a6.tar.zst nixlib-1146ae1a7194bb231269bdb9587a85703e38a2a6.zip |
release-notes/19.03: add release notes for nix 2.0 requirement bump
This is taken from the 18.09 change, which was reverted on release-18.09 but not master. The now-false 18.09 release notes were just removed from master in 29854e24265457991448afb93363bdcc9e5d2eca, but since the underlying change is still there, release notes for 19.03 are warranted. This commit takes the now-reverted release notes and reuses them for that.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-1903.xml | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1903.xml b/nixos/doc/manual/release-notes/rl-1903.xml index 2e971996b864..bfae2d0f5974 100644 --- a/nixos/doc/manual/release-notes/rl-1903.xml +++ b/nixos/doc/manual/release-notes/rl-1903.xml @@ -56,7 +56,48 @@ <itemizedlist> <listitem> - <para /> + <para> + The minimum version of Nix required to evaluate Nixpkgs is now 2.0. + </para> + <itemizedlist> + <listitem> + <para> + For users of NixOS 18.03 and 19.03, NixOS defaults to Nix 2.0, but + supports using Nix 1.11 by setting <literal>nix.package = + pkgs.nix1;</literal>. If this option is set to a Nix 1.11 package, you + will need to either unset the option or upgrade it to Nix 2.0. + </para> + </listitem> + <listitem> + <para> + For users of NixOS 17.09, you will first need to upgrade Nix by setting + <literal>nix.package = pkgs.nixStable2;</literal> and run + <command>nixos-rebuild switch</command> as the <literal>root</literal> + user. + </para> + </listitem> + <listitem> + <para> + For users of a daemon-less Nix installation on Linux or macOS, you can + upgrade Nix by running <command>curl https://nixos.org/nix/install | + sh</command>, or prior to doing a channel update, running + <command>nix-env -iA nix</command>. + </para> + <para> + If you have already run a channel update and Nix is no longer able to + evaluate Nixpkgs, the error message printed should provide adequate + directions for upgrading Nix. + </para> + </listitem> + <listitem> + <para> + For users of the Nix daemon on macOS, you can upgrade Nix by running + <command>sudo -i sh -c 'nix-channel --update && nix-env -iA + nixpkgs.nix'; sudo launchctl stop org.nixos.nix-daemon; sudo launchctl + start org.nixos.nix-daemon</command>. + </para> + </listitem> + </itemizedlist> </listitem> </itemizedlist> </section> |