diff options
author | Graham Christensen <graham@grahamc.com> | 2016-02-22 10:50:27 -0600 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2016-02-22 10:50:27 -0600 |
commit | 60f354dfb8ba7b4ac0f4ddc7bf22bf9c7dd1f40a (patch) | |
tree | 3c1ab0f5bf9f6868c0360dcfb15f239bfb715356 /pkgs/build-support/fetchgit | |
parent | e63a3a6ad4a1a3fe7d5b7a2d07fd6ef8f8563bac (diff) |
nix-prefetch-git: output base32 hash so output matches nix-build errors
It turns out hashFormat has never been set.
Diffstat (limited to 'pkgs/build-support/fetchgit')
-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 2c5852c646e44..97096aa29806d 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. |