nix-prefetch-git: add fetchLFS flag to the JSON output

Similarly to the other flags (e.g. fetchSubmodules).
launchpad/nixpkgs/master
Bjørn Forsman 3 years ago
parent 2d2d5ce304
commit 9bd51f0db9
  1. 1
      pkgs/build-support/fetchgit/nix-prefetch-git

@ -398,6 +398,7 @@ print_results() {
"date": "$(json_escape "$commitDateStrict8601")",
"path": "$(json_escape "$finalPath")",
"$(json_escape "$hashType")": "$(json_escape "$hash")",
"fetchLFS": $([[ -n "$fetchLFS" ]] && echo true || echo false),
"fetchSubmodules": $([[ -n "$fetchSubmodules" ]] && echo true || echo false),
"deepClone": $([[ -n "$deepClone" ]] && echo true || echo false),
"leaveDotGit": $([[ -n "$leaveDotGit" ]] && echo true || echo false)

Loading…
Cancel
Save