summaryrefslogtreecommitdiffstats
path: root/pkgs/build-support/fetchgit/nix-prefetch-git
diff options
context:
space:
mode:
authorTim Cuthbertson <tim@gfxmonk.net>2018-06-17 21:19:27 +1000
committerTim Cuthbertson <tim@gfxmonk.net>2018-06-17 21:19:27 +1000
commitc5454933a1be9fc42baf0646e216826522d38275 (patch)
treece6a46dbb992d5597b74ebf4775c65b90328fd0c /pkgs/build-support/fetchgit/nix-prefetch-git
parent95a8cb3ade1ad0e2649f0f3128e90c53964af5e1 (diff)
nix-prefetch-git: fix output `fetchSubmodules` property
Diffstat (limited to 'pkgs/build-support/fetchgit/nix-prefetch-git')
-rwxr-xr-xpkgs/build-support/fetchgit/nix-prefetch-git2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git
index 1d993dcc1094..3cf4ecc280fe 100755
--- a/pkgs/build-support/fetchgit/nix-prefetch-git
+++ b/pkgs/build-support/fetchgit/nix-prefetch-git
@@ -356,7 +356,7 @@ print_results() {
"rev": "$(json_escape "$fullRev")",
"date": "$(json_escape "$commitDateStrict8601")",
"$(json_escape "$hashType")": "$(json_escape "$hash")",
- "fetchSubmodules": $([[ -n "fetchSubmodules" ]] && echo true || echo false)
+ "fetchSubmodules": $([[ -n "$fetchSubmodules" ]] && echo true || echo false)
}
EOF
fi