diff options
author | Anders Riutta <ariutta@users.noreply.github.com> | 2018-09-17 13:19:02 -0700 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2018-09-19 14:17:06 -0400 |
commit | 1915862767331dba33bc0f40bc09a3c32a22ebea (patch) | |
tree | 45d77d0ee90d42559807553b8bcba73c2c846dd7 /doc/manual/installation | |
parent | 2ca6ef0fec150209994814fada3533fbd0f9f764 (diff) |
Upgrade docs: improve the upgrade command
and make it more copy-pastable.
Diffstat (limited to 'doc/manual/installation')
-rw-r--r-- | doc/manual/installation/upgrading.xml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/manual/installation/upgrading.xml b/doc/manual/installation/upgrading.xml index a3f86ade9..30670d7fe 100644 --- a/doc/manual/installation/upgrading.xml +++ b/doc/manual/installation/upgrading.xml @@ -7,15 +7,16 @@ <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>. + Multi-user Nix users on macOS can upgrade Nix by running: + <command>sudo -i sh -c 'nix-channel --update && + nix-env -iA nixpkgs.nix && + launchctl remove org.nixos.nix-daemon && + launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist'</command> </para> + <para> - Single-user installations of Nix should run <command>nix-channel - --update; nix-env -iA nixpkgs.nix</command>. + Single-user installations of Nix should run this: + <command>nix-channel --update; nix-env -iA nixpkgs.nix</command> </para> - </chapter> |