about summary refs log tree commit diff
path: root/scripts/nix-prefetch-url.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-01-22T09·53+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-01-22T09·53+0000
commit7bc30e1ca8e20ee54175881364663ce5aaf1fa1c (patch)
tree421f5b4d495a4e9d19d874e8e05fc085bbf77833 /scripts/nix-prefetch-url.in
parent71ceb1c16102f82e15375afb44e0ac59e39eaa23 (diff)
* nix-prefetch-url: change the default hash to SHA-256 (in base-32).
Diffstat (limited to 'scripts/nix-prefetch-url.in')
-rw-r--r--scripts/nix-prefetch-url.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in
index 0f1c95c7e828..446c7a669c3d 100644
--- a/scripts/nix-prefetch-url.in
+++ b/scripts/nix-prefetch-url.in
@@ -8,7 +8,7 @@ export PATH=$PATH:@coreutils@
 
 hashType=$NIX_HASH_ALGO
 if test -z "$hashType"; then
-    hashType=md5
+    hashType=sha256
 fi
 
 hashFormat=