docs: add cacert in macos multi-user upgrade (#10237)

This commit is contained in:
vac (Brendan) 2024-03-28 05:26:50 +08:00 committed by GitHub
parent 1b71a4270a
commit 37f8edce99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ $ sudo su
## macOS multi-user ## macOS multi-user
```console ```console
$ sudo nix-env --install --file '<nixpkgs>' --attr nix -I nixpkgs=channel:nixpkgs-unstable $ sudo nix-env --install --file '<nixpkgs>' --attr nix cacert -I nixpkgs=channel:nixpkgs-unstable
$ sudo launchctl remove org.nixos.nix-daemon $ sudo launchctl remove org.nixos.nix-daemon
$ sudo launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist $ sudo launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist
``` ```