aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-01-31 16:14:47 +0100
committerEelco Dolstra <edolstra@gmail.com>2018-01-31 16:24:43 +0100
commit6fa690291a0ca81ded59ab3db1745ce2dfef84fd (patch)
tree296f49d4cc471d2dfd9327c6b5933b10e51545ea /doc
parent8af911be5ccb11f05615451fc7e90377ede7fba7 (diff)
Add 'nix upgrade-nix' command
This command upgrades Nix to the latest stable version by installing a store path obtained from https://github.com/NixOS/nixpkgs/raw/master/nixos/modules/installer/tools/nix-fallback-paths.nix which is the same store path that the installer at https://nixos.org/nix/install.sh uses. The upgrade fails if Nix is not installed in a profile (e.g. on NixOS, or when installed outside of the Nix store).
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/release-notes/rl-1.12.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/manual/release-notes/rl-1.12.xml b/doc/manual/release-notes/rl-1.12.xml
index 29943e3e6..89ec92094 100644
--- a/doc/manual/release-notes/rl-1.12.xml
+++ b/doc/manual/release-notes/rl-1.12.xml
@@ -79,6 +79,11 @@
<listitem><para><command>nix add-to-store</command> (970366266b8df712f5f9cedb45af183ef5a8357f).</para></listitem>
+ <listitem><para><command>nix upgrade-nix</command> upgrades Nix
+ to the latest stable version. This requires that Nix is
+ installed in a profile. (Thus it won’t work on NixOS, or if it’s
+ installed outside of the Nix store.)</para></listitem>
+
<listitem><para>Progress indicator.</para></listitem>
<listitem><para>All options are available as flags now