forked from mirrors/nixpkgs
nix-prefetch-svn: Use SHA256/Base32 by default.
svn path=/nixpkgs/trunk/; revision=16322
This commit is contained in:
parent
186f62d354
commit
099dd7fa16
|
@ -6,7 +6,10 @@ expHash=$3
|
|||
|
||||
hashType=$NIX_HASH_ALGO
|
||||
if test -z "$hashType"; then
|
||||
hashType=md5
|
||||
hashType=sha256
|
||||
fi
|
||||
if test -z "$hashFormat"; then
|
||||
hashFormat=--base32
|
||||
fi
|
||||
|
||||
if test -z "$url"; then
|
||||
|
|
Loading…
Reference in a new issue