summaryrefslogtreecommitdiff
path: root/Biz/Ide
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-08-03 14:11:18 -0400
committerBen Sima <ben@bsima.me>2022-08-03 15:20:01 -0400
commit27a631b2c94df80ac5da8c97b66a3e99e1813811 (patch)
treef706daa9710b7412d23f1dea4288cd22318e0039 /Biz/Ide
parent935d5dc1c8d4c60a70d79a3f47718f9dcf5684fd (diff)
Print bild JSON analysis as a dictionary instead of a stream
Diffstat (limited to 'Biz/Ide')
-rwxr-xr-xBiz/Ide/repl6
1 files changed, 3 insertions, 3 deletions
diff --git a/Biz/Ide/repl b/Biz/Ide/repl
index a8fc124..8f92fba 100755
--- a/Biz/Ide/repl
+++ b/Biz/Ide/repl
@@ -26,9 +26,9 @@ fi
fi
targets=${@:?}
json=$(bild --json ${targets[@]})
- langdeps=$(jq --raw-output '.langdeps | join(" ")' <<< $json)
- sysdeps=$(jq --raw-output '.sysdeps | join(" ")' <<< $json)
- exts=$(jq --raw-output '.namespace.ext' <<< $json | sort | uniq)
+ langdeps=$(jq --raw-output '.[].langdeps | join(" ")' <<< $json)
+ sysdeps=$(jq --raw-output '.[].sysdeps | join(" ")' <<< $json)
+ exts=$(jq --raw-output '.[].namespace.ext' <<< $json | sort | uniq)
BILD="(import $BIZ_ROOT/Biz/Bild.nix {})"
for lib in ${sysdeps[@]}; do
flags+=(--packages "$BILD.private.nixpkgs.${lib}")