about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/nix-install-package.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-install-package.in b/scripts/nix-install-package.in
index c109652d1fca..b442c708b1a2 100755
--- a/scripts/nix-install-package.in
+++ b/scripts/nix-install-package.in
@@ -71,7 +71,7 @@ sub barf {
 my $pkgFile = $source;
 if ($fromURL) {
     $pkgFile = "$tmpDir/tmp.nixpkg";
-    system("@curl@", "--silent", $source, "-o", $pkgFile) == 0
+    system("@curl@", "-L", "--silent", $source, "-o", $pkgFile) == 0
         or barf "curl failed: $?";
 }