about summary refs log tree commit diff
path: root/scripts/nix-prefetch-url.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nix-prefetch-url.in')
-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 2311d1bde690..6153838335ed 100644
--- a/scripts/nix-prefetch-url.in
+++ b/scripts/nix-prefetch-url.in
@@ -9,7 +9,7 @@ if test -z "$hashType"; then
 fi
 
 hashFormat=
-if test "$hashType" = "sha1"; then
+if test "$hashType" != "md5"; then
     hashFormat=--base32
 fi