summaryrefslogtreecommitdiff
path: root/Biz/Ide/repl
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Ide/repl')
-rwxr-xr-xBiz/Ide/repl14
1 files changed, 7 insertions, 7 deletions
diff --git a/Biz/Ide/repl b/Biz/Ide/repl
index 5a7b615..cf0378d 100755
--- a/Biz/Ide/repl
+++ b/Biz/Ide/repl
@@ -44,27 +44,27 @@ fi
if [ -z ${var+PORT} ]; then
echo "warn: repl: ghci does not support binding to a port"
fi
- flags+=(--packages "$BILD.private.$packageSet (h: with h; [$langdeps])")
+ flags+=(--packages "$BILD.bild.haskell.ghcWith (h: with h; [$langdeps])")
command=${CMD:-"ghci -i${BIZ_ROOT:?} -ghci-script ${BIZ_ROOT:?}/.ghci ${targets[@]}"}
;;
Scm)
for lib in ${langdeps[@]}; do
- flags+=(--packages "$BILD.private.nixpkgs.guile-${lib}")
+ flags+=(--packages "$BILD.guile-${lib}")
done
- flags+=(--packages "$BILD.private.nixpkgs.guile")
+ flags+=(--packages "$BILD.guile")
command=${CMD:-"guile -L ${BIZ_ROOT:?} -C ${BIZ_ROOT:?}/_/int --r7rs --listen=${PORT:-37146}"}
;;
Lisp)
- flags+=(--packages "$BILD.private.$packageSet (p: with p; [asdf swank $langdeps])")
+ flags+=(--packages "$BILD.bild.$packageSet (p: with p; [asdf swank $langdeps])")
command=${CMD:-"sbcl --eval '(require :asdf)' --eval '(require :swank)' --eval '(swank:create-server :port ${PORT:-4005})' --load $targets"}
;;
Rs)
- flags+=(--packages "$BILD.private.nixpkgs.rustc")
+ flags+=(--packages "$BILD.nixpkgs.rustc")
command=bash
;;
Py)
- langdeps="$langdeps pylint mypy"
- flags+=(--packages "$BILD.private.$packageSet (p: with p; [$langdeps])")
+ langdeps="$langdeps mypy"
+ flags+=(--packages "$BILD.bild.python.pythonWith (p: with p; [$langdeps])")
command=${CMD:-"python -i $targets"}
;;
*)