README: update the macOS Nix-based install

master
Ivan Kozik 2022-04-10 17:57:14 +00:00
parent fe006e4fe1
commit 81995d67c2
1 changed files with 2 additions and 4 deletions

View File

@ -193,12 +193,10 @@ For M1 Macs, use the next section instead of this one.
As an alternative to the Homebrew install, if you prefer Nix. As an alternative to the Homebrew install, if you prefer Nix.
2. Install Nix: https://nixos.org/nix/download.html 2. Install Nix: https://nixos.org/download.html#nix-install-macos
On macOS 10.15 or 11+, you will instead need:
``` ```
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume sh <(curl -L https://nixos.org/nix/install)
``` ```
To put `nix-env` in your PATH, add this to your `~/.zshrc` (macOS 10.15, 11+) or `~/.bash_profile` (earlier): To put `nix-env` in your PATH, add this to your `~/.zshrc` (macOS 10.15, 11+) or `~/.bash_profile` (earlier):