nix-install-package: follow symlinks

This commit is contained in:
Jaka Hudoklin 2015-01-30 01:56:01 +01:00 committed by Eelco Dolstra
parent 73bf32ce94
commit 3688db3d43

View file

@ -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: $?";
}