Merge pull request #21654 from awakenetworks/connor/print_metadata

nix-prefetch-git: remove call to nonexistent print_metadata function
This commit is contained in:
Domen Kožar 2017-01-07 13:00:41 +01:00 committed by GitHub
commit b86c663a04

View File

@ -406,8 +406,7 @@ else
finalPath=$(nix-store --add-fixed --recursive "$hashType" "$tmpFile")
if test -n "$expHash" -a "$expHash" != "$hash"; then
print_metadata
echo "hash mismatch for URL \`$url'" >&2
echo "hash mismatch for URL \`$url'. Got \`$hash'; expected \`$expHash'." >&2
exit 1
fi
fi