aboutsummaryrefslogtreecommitdiff
path: root/pkgs/build-support/fetchsvn
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-07-10 15:50:11 +0000
committerLudovic Courtès <ludo@gnu.org>2009-07-10 15:50:11 +0000
commit099dd7fa166696f354137055c55660d7a804b587 (patch)
tree9a4c3405bd477c133d1062ae28b7231f9e0c4162 /pkgs/build-support/fetchsvn
parent186f62d354a23de3adcb41d26bd7864cd657fda5 (diff)
nix-prefetch-svn: Use SHA256/Base32 by default.
svn path=/nixpkgs/trunk/; revision=16322
Diffstat (limited to 'pkgs/build-support/fetchsvn')
-rwxr-xr-xpkgs/build-support/fetchsvn/nix-prefetch-svn5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchsvn/nix-prefetch-svn b/pkgs/build-support/fetchsvn/nix-prefetch-svn
index e3a4cfc8acac..d15eb9a060cd 100755
--- a/pkgs/build-support/fetchsvn/nix-prefetch-svn
+++ b/pkgs/build-support/fetchsvn/nix-prefetch-svn
@@ -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