nix-prefetch-svn: Use SHA256/Base32 by default.

svn path=/nixpkgs/trunk/; revision=16322
This commit is contained in:
Ludovic Courtès 2009-07-10 15:50:11 +00:00
parent 186f62d354
commit 099dd7fa16

View File

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