From 4977bdad66a88deb9e64f3b3ff04761eab5c3d0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Mon, 21 Sep 2020 14:30:19 +0200 Subject: [PATCH] Update lib/install-nix.sh Co-authored-by: zimbatm --- 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 22f6f7e..b6083ea 100755 --- a/lib/install-nix.sh +++ b/lib/install-nix.sh @@ -24,7 +24,7 @@ installer_options=( ) # On self-hosted runners we don't need to install more than once -if [ ! -d "/nix/store" ] +if [[ ! -d /nix/store ]] then sh <(curl --retry 5 --retry-connrefused -L "${INPUT_INSTALL_URL:-https://nixos.org/nix/install}") "${installer_options[@]}" fi