SLY: Rename vanilla implementation to "sbcl", and custom one to sbcl-ambrevar.

master
Pierre Neidhardt 2020-12-05 09:24:47 +01:00
parent 169b241f89
commit 6fc0ae0c63
1 changed files with 7 additions and 5 deletions

View File

@ -154,15 +154,17 @@ returns a string."
(when (executable-find "lisp-repl-core-dumper")
(setq sly-lisp-implementations
`((sbcl ("lisp-repl-core-dumper" "sbcl" "ambrevar"))
`((sbcl-ambrevar ("lisp-repl-core-dumper" "sbcl" "ambrevar"))
(sbcl ("lisp-repl-core-dumper" "sbcl"))
(sbcl-nyxt-site ("guix" "environment" "--pure"
"-m" ,(expand-file-name "~/common-lisp/nyxt-site/guix-manifest.scm")
"--" "sbcl"))
;; Simple REPL environment (no container):
(sbcl-nyxt ("guix" "environment" "--pure"
"--preserve=^PERSONAL$" ; To find personal config, like engines and bookmarks.
"-l" ,(expand-file-name "~/common-lisp/nyxt/build-scripts/guix.scm")
"--ad-hoc" "gnupg" "--" "sbcl"))
(sbcl-nyxt-site ("guix" "environment" "--pure"
"-m" ,(expand-file-name "~/common-lisp/nyxt-site/guix-manifest.scm")
"--" "sbcl"))
;; REVIEW: Is it necessary to pass nss-certs?
"--ad-hoc" "nss-certs" "gnupg" "--" "sbcl"))
;; Faster, but not pure. TODO: Can we purify it? Run it in a container?
(sbcl-nyxt-fast
(lambda ()