mirror of
https://github.com/cachix/install-nix-action.git
synced 2025-06-08 01:54:27 +00:00
be able to pass installer options
This commit is contained in:
parent
3349b09732
commit
2e56a105a6
2 changed files with 7 additions and 1 deletions
|
@ -27,7 +27,11 @@ installer_options=(
|
|||
--darwin-use-unencrypted-nix-store-volume
|
||||
--nix-extra-conf-file /tmp/nix.conf
|
||||
)
|
||||
if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then
|
||||
installer_options=("${installer_options[@]}" "${INPUT_INSTALL_OPTIONS[@]}")
|
||||
fi
|
||||
|
||||
echo "installer options: ${installer_options[@]}"
|
||||
# On self-hosted runners we don't need to install more than once
|
||||
if [[ ! -d /nix/store ]]
|
||||
then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue