nix-prefetch-git: also add store path to json output

This commit is contained in:
Jörg Thalheim
2020-05-04 17:43:29 +05:30
committed by Emery Hemingway
parent 7457c78989
commit 2fb5dac372
@@ -373,6 +373,7 @@ print_results() {
"url": "$(json_escape "$url")",
"rev": "$(json_escape "$fullRev")",
"date": "$(json_escape "$commitDateStrict8601")",
"path": "$(json_escape "$finalPath")",
"$(json_escape "$hashType")": "$(json_escape "$hash")",
"fetchSubmodules": $([[ -n "$fetchSubmodules" ]] && echo true || echo false),
"deepClone": $([[ -n "$deepClone" ]] && echo true || echo false),