diff --git a/install-nix.sh b/install-nix.sh index 7d9a6efa..ebec9449 100755 --- a/install-nix.sh +++ b/install-nix.sh @@ -66,7 +66,7 @@ echo "installer options: ${installer_options[*]}" # There is --retry-on-errors, but only newer curl versions support that curl_retries=5 -while ! curl -sS -o "$workdir/install" -v --fail -L "${INPUT_INSTALL_URL:-https://nixos.org/nix/install}" +while ! curl -sS -o "$workdir/install" -v --fail -L "${INPUT_INSTALL_URL:-https://releases.nixos.org/nix/nix-2.15.0/install}" do sleep 1 ((curl_retries--))