Add -L
param to curl command
This commit is contained in:
parent
5c21a08208
commit
8b234a214d
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user