about summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2016-02-22 18:21:11 +0000
committerzimbatm <zimbatm@zimbatm.com>2016-02-22 18:21:11 +0000
commitc3e9630dfa460a56b74fd3e4934a72910cfbf3fc (patch)
tree9d71b729a67027e8b4e710767f281095e13d03c2 /pkgs/build-support
parent0022f639f31161766b8f2604388015e8b05c4a0d (diff)
parent60f354dfb8ba7b4ac0f4ddc7bf22bf9c7dd1f40a (diff)
downloadnixlib-c3e9630dfa460a56b74fd3e4934a72910cfbf3fc.tar
nixlib-c3e9630dfa460a56b74fd3e4934a72910cfbf3fc.tar.gz
nixlib-c3e9630dfa460a56b74fd3e4934a72910cfbf3fc.tar.bz2
nixlib-c3e9630dfa460a56b74fd3e4934a72910cfbf3fc.tar.lz
nixlib-c3e9630dfa460a56b74fd3e4934a72910cfbf3fc.tar.xz
nixlib-c3e9630dfa460a56b74fd3e4934a72910cfbf3fc.tar.zst
nixlib-c3e9630dfa460a56b74fd3e4934a72910cfbf3fc.zip
Merge pull request #13369 from grahamc/nix-prefetch-git-output-base32
nix-prefetch-git: output base32 hash so output matches nix-build errors
Diffstat (limited to 'pkgs/build-support')
-rwxr-xr-xpkgs/build-support/fetchgit/nix-prefetch-git2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git
index 2c5852c646e4..97096aa29806 100755
--- a/pkgs/build-support/fetchgit/nix-prefetch-git
+++ b/pkgs/build-support/fetchgit/nix-prefetch-git
@@ -326,7 +326,7 @@ else
         clone_user_rev "$tmpFile" "$url" "$rev"
 
         # Compute the hash.
-        hash=$(nix-hash --type $hashType $hashFormat $tmpFile)
+        hash=$(nix-hash --type $hashType --base32 $tmpFile)
         if ! test -n "$QUIET"; then echo "hash is $hash" >&2; fi
 
         # Add the downloaded file to the Nix store.