refactor(lib/install-nix): quiet down curl spam

This commit is contained in:
Bernardo Meurer 2022-03-25 15:35:01 -07:00
parent c5300121f7
commit 1544c90451
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246

View file

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