fixed syntax error in install_nix.sh.

This commit is contained in:
ajasibley 2023-05-25 02:04:14 -07:00
parent 1c1245535a
commit 28491b7515

View file

@ -19,11 +19,11 @@ if ! command -v nix --help >/dev/null 2>&1; then
case `uname` in case `uname` in
Linux*) Linux*)
echo "Error: Nix package manager is not installed. Installing Nix for 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*) Darwin*)
echo "Error: Nix package manager is not installed. Installing Nix for macOS..." 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" echo "Unsupported platform for Nix installation"