From 1544c90451f1eae91d322447bbe68ea3df90f996 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Fri, 25 Mar 2022 15:35:01 -0700 Subject: [PATCH] refactor(lib/install-nix): quiet down curl spam --- lib/install-nix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install-nix.sh b/lib/install-nix.sh index de36af5..1b64970 100755 --- a/lib/install-nix.sh +++ b/lib/install-nix.sh @@ -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--))