Update lib/install-nix.sh

Co-authored-by: zimbatm <zimbatm@zimbatm.com>
This commit is contained in:
Domen Kožar 2020-09-21 14:30:19 +02:00 committed by GitHub
parent 775aed5fcb
commit 4977bdad66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ installer_options=(
) )
# On self-hosted runners we don't need to install more than once # On self-hosted runners we don't need to install more than once
if [ ! -d "/nix/store" ] if [[ ! -d /nix/store ]]
then then
sh <(curl --retry 5 --retry-connrefused -L "${INPUT_INSTALL_URL:-https://nixos.org/nix/install}") "${installer_options[@]}" sh <(curl --retry 5 --retry-connrefused -L "${INPUT_INSTALL_URL:-https://nixos.org/nix/install}") "${installer_options[@]}"
fi fi