1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 07:33:16 +02:00

* Use passive FTP in wget.

This commit is contained in:
Eelco Dolstra 2003-10-02 15:48:47 +00:00
parent e78f753aa8
commit 563afb7fcc
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ print "fetching $url...\n";
my $out = "@prefix@/store/nix-prefetch-url-$$";
system "@wget@ '$url' -O '$out'";
system "@wget@ --passive-ftp '$url' -O '$out'";
$? == 0 or die "unable to fetch $url";
my $hash=`@bindir@/nix-hash --flat $out`;