about summary refs log tree commit diff
path: root/scripts/nix-install-package.in
diff options
context:
space:
mode:
authorJaka Hudoklin <jakahudoklin@gmail.com>2015-01-30T00·56+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-30T10·30+0100
commit3688db3d4355a2d0e8c10c05234ec4dffb2c37c4 (patch)
tree71514bab01112594e5323ff3edf99c8077700d82 /scripts/nix-install-package.in
parent73bf32ce9400a45f49d5551268f6a611735bdb32 (diff)
nix-install-package: follow symlinks
Diffstat (limited to 'scripts/nix-install-package.in')
-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: $?";
 }