Skip to content

Commit

Permalink
Merge pull request #2584 from dtzWill/fix/test-sri-512-256
Browse files Browse the repository at this point in the history
tests/fetchurl: fix after changing default hash from 512 to 256
  • Loading branch information
shlevy authored Dec 15, 2018
2 parents 7b0b349 + aa7e52a commit e653df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/fetchurl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 '')

Expand Down

0 comments on commit e653df3

Please sign in to comment.