summaryrefslogtreecommitdiff
path: root/Biz/Ide/repl
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Ide/repl')
-rwxr-xr-xBiz/Ide/repl8
1 files changed, 7 insertions, 1 deletions
diff --git a/Biz/Ide/repl b/Biz/Ide/repl
index 7230edd..b10f0f0 100755
--- a/Biz/Ide/repl
+++ b/Biz/Ide/repl
@@ -28,14 +28,20 @@ fi
json=$(bild --json ${targets[@]})
langdeps=$(jq --raw-output '.[].langdeps | join(" ")' <<< $json)
sysdeps=$(jq --raw-output '.[].sysdeps | join(" ")' <<< $json)
+ rundeps=$(jq --raw-output '.[].rundeps | join(" ")' <<< $json)
exts=$(jq --raw-output '.[].namespace.ext' <<< $json | sort | uniq)
packageSet=$(jq --raw-output '.[].packageSet' <<< $json)
module=$(jq --raw-output '.[].mainModule' <<< $json)
BILD="(import ${CODEROOT:?}/Biz/Bild.nix {})"
- for lib in ${sysdeps[@]}; do
+ for lib in ${sysdeps[@]}
+ do
flags+=(--packages "$BILD.pkgs.${lib}")
flags+=(--packages "$BILD.pkgs.pkg-config")
done
+ for lib in ${rundeps[@]}
+ do
+ flags+=(--packages "$BILD.pkgs.${lib}")
+ done
case $exts in
C)
flags+=(--packages "$BILD.pkgs.gcc")