From a78d378528d6b43943e34b0500cbfa76584d5b48 Mon Sep 17 00:00:00 2001 From: peeech Date: Sun, 21 Jun 2020 23:46:22 +0200 Subject: [PATCH] nixos-infect: curl -L to follow 301 redirect (#55) --- nixos-infect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-infect b/nixos-infect index 9d89f9f..960e49a 100755 --- a/nixos-infect +++ b/nixos-infect @@ -232,7 +232,7 @@ infect() { #addgroup nixbld -g 30000 || true #for i in {1..10}; do adduser -DH -G nixbld nixbld$i || true; done - curl https://nixos.org/nix/install | $SHELL + curl -L https://nixos.org/nix/install | $SHELL # shellcheck disable=SC1090 source ~/.nix-profile/etc/profile.d/nix.sh