about summary refs log tree commit diff
path: root/tests/fetchurl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fetchurl.sh')
-rw-r--r--tests/fetchurl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fetchurl.sh b/tests/fetchurl.sh
index d51d081f5e3b..ec3399b08d00 100644
--- a/tests/fetchurl.sh
+++ b/tests/fetchurl.sh
@@ -23,7 +23,7 @@ clearStore
 
 hash=$(nix hash-file ./fetchurl.sh)
 
-[[ $hash =~ ^sha512- ]]
+[[ $hash =~ ^sha256- ]]
 
 outPath=$(nix-build '<nix/fetchurl.nix>' --argstr url file://$(pwd)/fetchurl.sh --argstr hash $hash --no-out-link --hashed-mirrors '')