mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
* Fix the tests.
This commit is contained in:
parent
a7e1a51fdf
commit
ffa1c61cd5
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue