forked from lix-project/lix
nix-install-package: follow symlinks
This commit is contained in:
parent
73bf32ce94
commit
3688db3d43
|
@ -71,7 +71,7 @@ sub barf {
|
||||||
my $pkgFile = $source;
|
my $pkgFile = $source;
|
||||||
if ($fromURL) {
|
if ($fromURL) {
|
||||||
$pkgFile = "$tmpDir/tmp.nixpkg";
|
$pkgFile = "$tmpDir/tmp.nixpkg";
|
||||||
system("@curl@", "--silent", $source, "-o", $pkgFile) == 0
|
system("@curl@", "-L", "--silent", $source, "-o", $pkgFile) == 0
|
||||||
or barf "curl failed: $?";
|
or barf "curl failed: $?";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue