diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2020-04-18 20:13:07 +0100 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2020-05-04 17:43:29 +0530 |
commit | 2fb5dac372fedd482ef3c65b608810bb7dd45083 (patch) | |
tree | 75ec1616f88b40e3a8d8717cf694a8513376255c /pkgs | |
parent | 7457c78989b0ded64c86aec449ac249c40cb54bd (diff) |
nix-prefetch-git: also add store path to json output
Diffstat (limited to 'pkgs')
-rwxr-xr-x | pkgs/build-support/fetchgit/nix-prefetch-git | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git index abba76bd1ac9..43f7c5acd5ad 100755 --- a/pkgs/build-support/fetchgit/nix-prefetch-git +++ b/pkgs/build-support/fetchgit/nix-prefetch-git @@ -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), |