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>2005-03-11T15·27+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-03-11T15·27+0000
commit536f3241775c21566d68a0581c78154a908da35f (patch)
treebb8fe1802a26963477ca427cce79ef349183841c /scripts/nix-prefetch-url.in
parent08df4436182a12a25aa45fcab2a13dbe71f7f10a (diff)
* nix-install-package: install outPath, not drvPath, for now.
* nix-prefecth-url: print out in base-16.

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 ed3ad87e49f3..23cc617ca45a 100644
--- a/scripts/nix-prefetch-url.in
+++ b/scripts/nix-prefetch-url.in
@@ -32,7 +32,7 @@ if test -z "$hash"; then
     @curl@ --fail --location --max-redirs 20 "$url" > $tmpPath1
 
     # Compute the hash.
-    hash=$(@bindir@/nix-hash --base32 --type "$hashType" --flat $tmpPath1)
+    hash=$(@bindir@/nix-hash --type "$hashType" --flat $tmpPath1)
     if ! test -n "$QUIET"; then echo "hash is $hash" >&2; fi
 
     # Rename it so that the fetchurl builder can find it.