fixed syntax error in install_nix.sh.
This commit is contained in:
parent
1c1245535a
commit
28491b7515
1 changed files with 2 additions and 2 deletions
|
@ -19,11 +19,11 @@ if ! command -v nix --help >/dev/null 2>&1; then
|
|||
case `uname` in
|
||||
Linux*)
|
||||
echo "Error: Nix package manager is not installed. Installing Nix for Linux..."
|
||||
sh <(curl -L https://nixos.org/nix/install) --daemon
|
||||
curl -L https://nixos.org/nix/install | sh --daemon -
|
||||
;;
|
||||
Darwin*)
|
||||
echo "Error: Nix package manager is not installed. Installing Nix for macOS..."
|
||||
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
|
||||
curl -L https://nixos.org/nix/install | sh --darwin-use-unencrypted-nix-store-volume -
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported platform for Nix installation"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue