diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2018-08-30 11:39:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-30 11:39:18 -0400 |
commit | aa0556415b281a8b82a39ef3d1318d779b1ceed2 (patch) | |
tree | 4996b9ca6e840ce516daa43ffca423d959f02522 /nixos | |
parent | 8c3514609b3b7d93a256f8255eaa7351fdfa940e (diff) | |
parent | a6a0005fed854c711d7efafdd4ddc9e681a44cec (diff) | |
download | nixpkgs-aa0556415b281a8b82a39ef3d1318d779b1ceed2.tar nixpkgs-aa0556415b281a8b82a39ef3d1318d779b1ceed2.tar.gz nixpkgs-aa0556415b281a8b82a39ef3d1318d779b1ceed2.tar.bz2 nixpkgs-aa0556415b281a8b82a39ef3d1318d779b1ceed2.tar.lz nixpkgs-aa0556415b281a8b82a39ef3d1318d779b1ceed2.tar.xz nixpkgs-aa0556415b281a8b82a39ef3d1318d779b1ceed2.tar.zst nixpkgs-aa0556415b281a8b82a39ef3d1318d779b1ceed2.zip |
Merge pull request #45779 from grahamc/bump-nix-version
Nix minimal version: 1.11 -> 2.0
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-1809.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1809.xml b/nixos/doc/manual/release-notes/rl-1809.xml index db9e13da065..6da67fe6d1e 100644 --- a/nixos/doc/manual/release-notes/rl-1809.xml +++ b/nixos/doc/manual/release-notes/rl-1809.xml @@ -141,6 +141,50 @@ $ nix-instantiate -E '(import <nixpkgsunstable> {}).gitFull' </listitem> <listitem> <para> + The minimum version of Nix required to evaluate Nixpkgs is now 2.0. + </para> + <itemizedlist> + <listitem> + <para> + For users of NixOS 18.03, NixOS 18.03 defaulted to Nix 2.0, but + supported 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> + <listitem> + <para> <literal>lib.strict</literal> is removed. Use <literal>builtins.seq</literal> instead. </para> |