SLY: Add "git" and "guix" to Nyxt Lisp implementations, add sbcl-pre-inst-env.

master
Pierre Neidhardt 2021-03-29 08:41:56 +02:00
parent 0197c1a92f
commit f78815dffc
1 changed files with 4 additions and 1 deletions

View File

@ -28,7 +28,7 @@ This dump is expected to be generated by `lisp-repl-core-dumper'."
(let* ((maybe-core-dumper (when-let ((exec (executable-find "lisp-repl-core-dumper")))
(list exec)))
;; Support for encrypted files and password manager:
(nyxt-ad-hoc-deps '("password-store" "gnupg"))
(nyxt-ad-hoc-deps '("password-store" "git" "guix" "gnupg"))
(nyxt-command `("guix" "environment" "--pure"
"--preserve=^PERSONAL$" ; To find personal config, like engines and bookmarks.
"-l" ,(expand-file-name "~/common-lisp/nyxt/build-scripts/guix.scm")
@ -47,6 +47,9 @@ This dump is expected to be generated by `lisp-repl-core-dumper'."
"--eval" "(named-readtables:in-readtable ambrevar/syntax:syntax)"))
(sbcl (,@maybe-core-dumper "sbcl"))
(sbcl-failsafe ("sbcl"))
(sbcl-pre-inst-env ,(list (expand-file-name "~/projects/guix/pre-inst-env")
"guix" "environment" "--ad-hoc" "sbcl" "sbcl-quickproject"
"--" "sbcl"))
(sbcl-nyxt (lambda ()
(nyxt-make-guix-sbcl-for-nyxt "~/projects/nyxt"
:preserve '("PERSONAL")