nix-prefetch-darcs: fix tag JSON output error (#460691)

This commit is contained in:
adisbladis
2025-11-12 04:14:06 +00:00
committed by GitHub
@@ -164,7 +164,7 @@ cat <<EOF
"repository": $(json_escape "$repository"),
EOF
if [ -n "$tag" ]; then cat <<EOF
"tag": "$(json_escape "$tag")",
"tag": $(json_escape "$tag"),
EOF
elif [ -n "$darcs_hash" ]; then cat <<EOF
"darcs-hash": $(json_escape "$darcs_hash"),