mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 23:02:27 +00:00
* Fix the tests.
This commit is contained in:
parent
a7e1a51fdf
commit
ffa1c61cd5
@ -35,8 +35,9 @@ sub downloadFile {
|
||||
my $url = shift;
|
||||
$ENV{"PRINT_PATH"} = 1;
|
||||
$ENV{"QUIET"} = 1;
|
||||
my ($dummy, $path) = `@bindir@/nix-prefetch-url '$url'`;
|
||||
my ($dummy, $path) = `$binDir/nix-prefetch-url '$url'`;
|
||||
chomp $path;
|
||||
die "nix-prefetch-url did not return a path" unless defined $path;
|
||||
return $path;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user