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