From 3688db3d4355a2d0e8c10c05234ec4dffb2c37c4 Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Fri, 30 Jan 2015 01:56:01 +0100 Subject: [PATCH] nix-install-package: follow symlinks --- scripts/nix-install-package.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/nix-install-package.in b/scripts/nix-install-package.in index c109652d1..b442c708b 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: $?"; }