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.
;; 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))