diff --git a/install-nix.sh b/install-nix.sh index ebec944..ee19c35 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://releases.nixos.org/nix/nix-2.15.0/install}" +while ! curl -sS -o "$workdir/install" -v --fail -L "${INPUT_INSTALL_URL:-https://releases.nixos.org/nix/nix-2.15.1/install}" do sleep 1 ((curl_retries--))