diff options
author | Jaka Hudoklin <jakahudoklin@gmail.com> | 2015-01-30T00·56+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-01-30T10·30+0100 |
commit | 3688db3d4355a2d0e8c10c05234ec4dffb2c37c4 (patch) | |
tree | 71514bab01112594e5323ff3edf99c8077700d82 /scripts | |
parent | 73bf32ce9400a45f49d5551268f6a611735bdb32 (diff) |
nix-install-package: follow symlinks
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/nix-install-package.in | 2 |
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: $?"; } |