]> git.ekhem.eu.org Git - guix.git/commitdiff
[home] Use guix repl as the Geiser Guile REPL backend.
authorJakub Czajka <jakub@ekhem.eu.org>
Mon, 22 Jun 2026 08:56:24 +0000 (10:56 +0200)
committerJakub Czajka <jakub@ekhem.eu.org>
Tue, 7 Jul 2026 21:36:27 +0000 (23:36 +0200)
Set geiser-guile-binary to ("guix" "repl") so the Geiser REPL
starts inside the Guix execution environment, giving it access to all
Guix-installed Guile libraries.

emacs/.config/emacs/conf/conf-lisp.el

index 60c2e815c01799eaef185d8c5d73bda95fcb43fc..830ad18721260d198f0d04c811b0cd226e67c175 100644 (file)
 ;; geiser-guile is a guile backend for geiser.
 (use-package geiser-guile
   :when
-  (conf:executables-p (list "guile"))
+  (conf:executables-p (list "guix"))
   :ensure t
+  :custom
+  ;; Use guix repl so the REPL sees all Guix-installed libraries.
+  (geiser-guile-binary '("guix" "repl"))
   :hook
   (scheme-mode . geiser-mode))