about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-10-28T22·07+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-10-28T22·07+0000
commit8d17265ac4f9202d924a109a38db33dac5619f9f (patch)
tree195e4efa26211063e62ef1610fff1e7f3b605a98
parentae6fb27f18fff6639f3b51ace4789537255a43a4 (diff)
* Don't use EPSV.
-rw-r--r--scripts/nix-prefetch-url.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in
index e5338d72d75c..0cf836599224 100644
--- a/scripts/nix-prefetch-url.in
+++ b/scripts/nix-prefetch-url.in
@@ -48,7 +48,7 @@ if test -z "$finalPath"; then
     mkdir $tmpPath
 
     # Perform the download.
-    @curl@ --fail --location --max-redirs 20 "$url" > $tmpFile
+    @curl@ --fail --location --max-redirs 20 --disable-epsv "$url" > $tmpFile
 
     # Compute the hash.
     hash=$(@bindir@/nix-hash --type "$hashType" $hashFormat --flat $tmpFile)