Skip to content

Commit 19203aa

Browse files
committed
nix-prefetch-pijul: fixup invalid JSON
accidentally doubly-quoted string output on change + state
1 parent d2a122e commit 19203aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/build-support/fetchpijul/nix-prefetch-pijul

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ cat <<EOF
123123
"channel": $(json_escape "$channel"),
124124
EOF
125125
if [ -n "$change" ]; then cat <<EOF
126-
"change": "$(json_escape "$change")",
126+
"change": $(json_escape "$change"),
127127
EOF
128128
elif [ -n "$state" ]; then cat <<EOF
129-
"state": "$(json_escape "$state")",
129+
"state": $(json_escape "$state"),
130130
EOF
131131
fi; cat <<EOF
132132
"path": "$final_path",

0 commit comments

Comments
 (0)