* Don't use EPSV.
This commit is contained in:
parent
ae6fb27f18
commit
8d17265ac4
|
@ -48,7 +48,7 @@ if test -z "$finalPath"; then
|
||||||
mkdir $tmpPath
|
mkdir $tmpPath
|
||||||
|
|
||||||
# Perform the download.
|
# Perform the download.
|
||||||
@curl@ --fail --location --max-redirs 20 "$url" > $tmpFile
|
@curl@ --fail --location --max-redirs 20 --disable-epsv "$url" > $tmpFile
|
||||||
|
|
||||||
# Compute the hash.
|
# Compute the hash.
|
||||||
hash=$(@bindir@/nix-hash --type "$hashType" $hashFormat --flat $tmpFile)
|
hash=$(@bindir@/nix-hash --type "$hashType" $hashFormat --flat $tmpFile)
|
||||||
|
|
Loading…
Reference in a new issue