Merge pull request #192 from grahamc/patch-1

Update to Nix 2.17.0
This commit is contained in:
Domen Kožar 2023-09-04 10:53:24 +02:00 committed by GitHub
commit 6a9a9e84a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ echo "installer options: ${installer_options[*]}"
# There is --retry-on-errors, but only newer curl versions support that # There is --retry-on-errors, but only newer curl versions support that
curl_retries=5 curl_retries=5
while ! curl -sS -o "$workdir/install" -v --fail -L "${INPUT_INSTALL_URL:-https://releases.nixos.org/nix/nix-2.16.1/install}" while ! curl -sS -o "$workdir/install" -v --fail -L "${INPUT_INSTALL_URL:-https://releases.nixos.org/nix/nix-2.17.0/install}"
do do
sleep 1 sleep 1
((curl_retries--)) ((curl_retries--))