Merge pull request #131 from lovesegfault/curl-quiet

refactor(lib/install-nix): quiet down curl spam
This commit is contained in:
Domen Kožar 2022-03-30 09:40:45 +01:00 committed by GitHub
commit 106f85df37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,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 -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 do
sleep 1 sleep 1
((curl_retries--)) ((curl_retries--))