mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-24 01:18:05 +00:00
Update lib/install-nix.sh
Co-authored-by: zimbatm <zimbatm@zimbatm.com>
This commit is contained in:
parent
775aed5fcb
commit
4977bdad66
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue