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

gstqt5
Jörg Thalheim 2020-04-18 20:13:07 +01:00 committed by Emery Hemingway
parent 7457c78989
commit 2fb5dac372
1 changed files with 1 additions and 0 deletions

View File

@ -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),