From 4f07db87049879f4f9b6e720b62afb503b587b16 Mon Sep 17 00:00:00 2001 From: Bjørn Forsman Date: Sun, 15 Aug 2021 09:26:37 +0200 Subject: nix-prefetch-git: add fetchLFS flag to the JSON output Similarly to the other flags (e.g. fetchSubmodules). (cherry picked from commit fcc16ac4655891cb7eaa5b6a6298c8bc46331ccf) --- pkgs/build-support/fetchgit/nix-prefetch-git | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git index 7c8fb0f6a7e1..697a739e6a60 100755 --- a/pkgs/build-support/fetchgit/nix-prefetch-git +++ b/pkgs/build-support/fetchgit/nix-prefetch-git @@ -397,6 +397,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) -- cgit v1.2.3