aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/installation
diff options
context:
space:
mode:
authorShao Cheng <astrohavoc@gmail.com>2020-05-09 15:59:39 +0200
committerGitHub <noreply@github.com>2020-05-09 15:59:39 +0200
commit446649e5403f9c41601eee6438eaeed5212b9190 (patch)
treef97b6e6356cb95be8e0b1652baaf00b67610ff47 /doc/manual/installation
parentd3d8186c9c9a4f4734d1604b19047f11b0edb049 (diff)
Update "Upgrading Nix" documentation
This PR proposes two changes to the "Upgrading Nix" documentation: * Besides updating `nixpkgs.nix`, we also update `nixpkgs.cacert`, so that the certificates are up-to-date as well. * Add the instructions for multi-user mode on Linux.
Diffstat (limited to 'doc/manual/installation')
-rw-r--r--doc/manual/installation/upgrading.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/manual/installation/upgrading.xml b/doc/manual/installation/upgrading.xml
index 30670d7fe..592f63895 100644
--- a/doc/manual/installation/upgrading.xml
+++ b/doc/manual/installation/upgrading.xml
@@ -17,6 +17,11 @@
<para>
Single-user installations of Nix should run this:
- <command>nix-channel --update; nix-env -iA nixpkgs.nix</command>
+ <command>nix-channel --update; nix-env -iA nixpkgs.nix nixpkgs.cacert</command>
+ </para>
+
+ <para>
+ Multi-user Nix users on Linux should run this with sudo:
+ <command>nix-channel --update; nix-env -iA nixpkgs.nix nixpkgs.cacert; systemctl daemon-reload; systemctl restart nix-daemon</command>
</para>
</chapter>