diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-09-01T20·43+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-01T20·43+0200 |
commit | 1f4992660136d47c2e782874fc4eeb451051c3d6 (patch) | |
tree | 03bce04173d9710a2163f9e40b2162336f650987 /doc/manual/installation/upgrading.xml | |
parent | c5ab07ec2b4eea5d7f4c5e4ef74d4b274ac943b7 (diff) | |
parent | c42eaaf684a6b1f7358d33cfaea1614885467d72 (diff) |
Merge pull request #2388 from grahamc/graham/document-multi-user
Document multi-user installation, and add release notes about it not being the default on 2.1
Diffstat (limited to 'doc/manual/installation/upgrading.xml')
-rw-r--r-- | doc/manual/installation/upgrading.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/manual/installation/upgrading.xml b/doc/manual/installation/upgrading.xml new file mode 100644 index 000000000000..a3f86ade95cd --- /dev/null +++ b/doc/manual/installation/upgrading.xml @@ -0,0 +1,21 @@ +<chapter xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:xi="http://www.w3.org/2001/XInclude" + version="5.0" + xml:id="ch-upgrading-nix"> + + <title>Upgrading Nix</title> + + <para> + Multi-user Nix users on macOS 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> + + <para> + Single-user installations of Nix should run <command>nix-channel + --update; nix-env -iA nixpkgs.nix</command>. + </para> + +</chapter> |