mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 23:02:27 +00:00
This commit is contained in:
parent
69c8b5b8a7
commit
1b7840b949
@ -48,7 +48,8 @@ if test -z "$finalPath"; then
|
||||
mkdir $tmpPath
|
||||
|
||||
# Perform the download.
|
||||
@curl@ --fail --location --max-redirs 20 --disable-epsv --cookie-jar $tmpPath/cookies "$url" > $tmpFile
|
||||
@curl@ --fail --location --max-redirs 20 --disable-epsv \
|
||||
--cookie-jar $tmpPath/cookies "$url" > $tmpFile
|
||||
|
||||
# Compute the hash.
|
||||
hash=$(@bindir@/nix-hash --type "$hashType" $hashFormat --flat $tmpFile)
|
||||
|
Loading…
Reference in New Issue
Block a user