Add -L param to curl command

This commit is contained in:
RheeseyB 2020-03-11 12:01:44 +00:00 committed by GitHub
parent 5c21a08208
commit 8b234a214d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ nixConf
# Needed due to multi-user being too defensive # Needed due to multi-user being too defensive
export ALLOW_PREEXISTING_INSTALLATION=1 export ALLOW_PREEXISTING_INSTALLATION=1
sh <(curl https://nixos.org/nix/install) --daemon sh <(curl -L https://nixos.org/nix/install) --daemon
# write nix.conf again as installation overwrites it # write nix.conf again as installation overwrites it
nixConf nixConf
@ -45,4 +45,4 @@ sudo pkill -HUP nix-daemon
# Set paths # Set paths
echo "::add-path::/nix/var/nix/profiles/per-user/runner/profile/bin" echo "::add-path::/nix/var/nix/profiles/per-user/runner/profile/bin"
echo "::add-path::/nix/var/nix/profiles/default/bin" echo "::add-path::/nix/var/nix/profiles/default/bin"
echo "::set-env name=NIX_PATH::/nix/var/nix/profiles/per-user/root/channels" echo "::set-env name=NIX_PATH::/nix/var/nix/profiles/per-user/root/channels"