Merge pull request #206 from kashw2/nix-update

nix: 2.20.5 -> 2.21.2
This commit is contained in:
Domen Kožar 2024-05-15 12:57:56 +02:00 committed by GitHub
commit 1e14eb01bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.20.5/install}"
while ! curl -sS -o "$workdir/install" -v --fail -L "${INPUT_INSTALL_URL:-https://releases.nixos.org/nix/nix-2.22.1/install}"
do
sleep 1
((curl_retries--))