tests/fetchurl: fix after changing default hash from 512 to 256
This commit is contained in:
parent
7b0b349085
commit
aa7e52abff
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ clearStore
|
||||||
|
|
||||||
hash=$(nix hash-file ./fetchurl.sh)
|
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 '')
|
outPath=$(nix-build '<nix/fetchurl.nix>' --argstr url file://$(pwd)/fetchurl.sh --argstr hash $hash --no-out-link --hashed-mirrors '')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue