summaryrefslogtreecommitdiff
path: root/Biz
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-02-02 14:28:41 -0500
committerBen Sima <ben@bsima.me>2022-02-02 14:28:41 -0500
commit33662128d2da7ce4e9e5a1cb5b35c63cc2c97793 (patch)
tree8de02469dd558bf8e2661d86984779bab7597359 /Biz
parent50fd3f34cb5fa2cdea480a299fc649c7817b14ec (diff)
Fix argument reference
Diffstat (limited to 'Biz')
-rwxr-xr-xBiz/Ide/repl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Biz/Ide/repl b/Biz/Ide/repl
index 79e7875..4a9dab6 100755
--- a/Biz/Ide/repl
+++ b/Biz/Ide/repl
@@ -12,7 +12,7 @@
##
set -e
target=${1:?}
- json=$(bild --json $1)
+ json=$(bild --json "$target")
langdeps=$(jq --raw-output '.[].langdeps | join(" ")' <<< $json)
nix-shell \
--packages "(import $BIZ_ROOT/Biz/Bild.nix {}).ghcWith (h: with h; [$langdeps])" \