mirror of
https://github.com/cachix/install-nix-action.git
synced 2025-06-07 17:44:28 +00:00
Allow overriding installation URL
This commit is contained in:
parent
ebed63b0a2
commit
afb82faed7
2 changed files with 4 additions and 1 deletions
|
@ -26,7 +26,7 @@ nixConf
|
|||
# Needed due to multi-user being too defensive
|
||||
export ALLOW_PREEXISTING_INSTALLATION=1
|
||||
|
||||
sh <(curl -L https://nixos.org/nix/install) --daemon
|
||||
sh <(curl -L ${INPUT_INSTALL_URL:-https://nixos.org/nix/install}) --daemon
|
||||
|
||||
# write nix.conf again as installation overwrites it
|
||||
nixConf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue