diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/nix-prefetch-url.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in index c78ee184cfb4..4c18899da7a0 100644 --- a/scripts/nix-prefetch-url.in +++ b/scripts/nix-prefetch-url.in @@ -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) |