nix-prefetch-darcs: fix tag JSON output error

This commit is contained in:
·𐑑𐑴𐑕𐑑𐑩𐑤
2025-11-11 22:32:28 +07:00
parent 189a0a96ba
commit 04725cf5f7

View File

@@ -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"),