diff options
author | Shea Levy <shea@shealevy.com> | 2018-12-15T16·04-0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-15T16·04-0500 |
commit | e653df3153890ad4557f8e54adead5f0eeb685aa (patch) | |
tree | 26e47d592b97ee2e4bab0b7f475d1d5be422d582 | |
parent | 7b0b349085cf7cddb61e49b809d2be7ac28fe53e (diff) | |
parent | aa7e52abff64c4211b65e4092d17a35b9cccf36e (diff) |
Merge pull request #2584 from dtzWill/fix/test-sri-512-256
tests/fetchurl: fix after changing default hash from 512 to 256
-rw-r--r-- | tests/fetchurl.sh | 2 |
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 '') |