Merge pull request #2584 from dtzWill/fix/test-sri-512-256

tests/fetchurl: fix after changing default hash from 512 to 256
This commit is contained in:
Shea Levy 2018-12-15 11:04:31 -05:00 committed by GitHub
commit e653df3153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 '')