diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in index e5338d72d7..0cf8365992 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)