diff options
author | zimbatm <zimbatm@zimbatm.com> | 2016-02-22 18:21:11 +0000 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2016-02-22 18:21:11 +0000 |
commit | c3e9630dfa460a56b74fd3e4934a72910cfbf3fc (patch) | |
tree | 9d71b729a67027e8b4e710767f281095e13d03c2 /pkgs/build-support | |
parent | 0022f639f31161766b8f2604388015e8b05c4a0d (diff) | |
parent | 60f354dfb8ba7b4ac0f4ddc7bf22bf9c7dd1f40a (diff) | |
download | nixlib-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-x | pkgs/build-support/fetchgit/nix-prefetch-git | 2 |
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. |