1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

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

This commit is contained in:
Jörg Thalheim 2020-04-18 20:13:07 +01:00 committed by Emery Hemingway
parent 7457c78989
commit 2fb5dac372

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