From 8b234a214d026f3f7d9c68c0c978c1e9ca1e5219 Mon Sep 17 00:00:00 2001 From: RheeseyB Date: Wed, 11 Mar 2020 12:01:44 +0000 Subject: [PATCH] Add `-L` param to curl command --- lib/install-nix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/install-nix.sh b/lib/install-nix.sh index 399222b..1073fed 100755 --- a/lib/install-nix.sh +++ b/lib/install-nix.sh @@ -26,7 +26,7 @@ nixConf # Needed due to multi-user being too defensive 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 nixConf @@ -45,4 +45,4 @@ sudo pkill -HUP nix-daemon # Set paths echo "::add-path::/nix/var/nix/profiles/per-user/runner/profile/bin" echo "::add-path::/nix/var/nix/profiles/default/bin" -echo "::set-env name=NIX_PATH::/nix/var/nix/profiles/per-user/root/channels" \ No newline at end of file +echo "::set-env name=NIX_PATH::/nix/var/nix/profiles/per-user/root/channels"