about summary refs log tree commit diff
path: root/corepkgs/fetchurl
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/fetchurl')
-rw-r--r--corepkgs/fetchurl/fetchurl.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/corepkgs/fetchurl/fetchurl.sh.in b/corepkgs/fetchurl/fetchurl.sh.in
index 88e4d81f2e48..a6cc6993028a 100644
--- a/corepkgs/fetchurl/fetchurl.sh.in
+++ b/corepkgs/fetchurl/fetchurl.sh.in
@@ -9,7 +9,7 @@ if test -f "$prefetch"; then
     echo "using prefetched $prefetch";
     mv $prefetch $out || exit 1
 else
-    @wget@ "$url" -O "$out" || exit 1
+    @wget@ --passive-ftp "$url" -O "$out" || exit 1
 fi
 
 actual=$(@bindir@/nix-hash --flat $out)