diff --git a/install-nix.sh b/install-nix.sh index f8f6c9b..e549a5d 100755 --- a/install-nix.sh +++ b/install-nix.sh @@ -88,7 +88,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://releases.nixos.org/nix/nix-2.17.0/install}" +while ! curl -sS -o "$workdir/install" -v --fail -L "${INPUT_INSTALL_URL:-https://releases.nixos.org/nix/nix-2.19.1/install}" do sleep 1 ((curl_retries--))