From 08e10dec6b00cedf7aa6395d195a32860e35a690 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 19 Jul 2022 14:22:53 -0400 Subject: Provision lisp repls with nix asdf seems to always be necessary for any other packages to work, so I just include that in the call to nix-shell, and swank is included because it's just useful to start a repl server. --- Biz/Ide/repl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Biz/Ide/repl') diff --git a/Biz/Ide/repl b/Biz/Ide/repl index 0a6815f..7c2e15c 100755 --- a/Biz/Ide/repl +++ b/Biz/Ide/repl @@ -23,9 +23,9 @@ exit 1 ;; Lisp) - swank-lisp-launcher.sh \ - --eval "(asdf:load-system 'swank)" \ - --eval "(swank:create-server :dont-close t)" + nix-shell \ + --packages "(import $BIZ_ROOT/Biz/Bild.nix {}).private.sbclWith (p: with p; [asdf swank $langdeps])" \ + --run "sbcl --eval '(require :asdf)' --eval '(require :swank)' --eval '(swank:create-server)' --load $targets" ;; *) echo "unsupported targets: ${targets[@]}" -- cgit v1.2.3