mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feat(scheme): auto-add guix channels to load-path
Guix is detected with a simple `executable-find`, and this trick assumes that guix is running on version 3 of Guile (which hopefully won't change for a while)
This commit is contained in:
committed by
Henrik Lissner
parent
6b5c34a1db
commit
4786e739af
@ -72,3 +72,9 @@
|
||||
:when (featurep! +guile)
|
||||
:when (featurep! :checkers syntax)
|
||||
:after geiser)
|
||||
|
||||
;; Add Guix channels to Guile load path
|
||||
(when (and (featurep! +guile) (executable-find "guix"))
|
||||
(after! geiser-guile
|
||||
(add-to-list 'geiser-guile-load-path
|
||||
(expand-file-name "~/.config/guix/current/share/guile/site/3.0"))))
|
||||
|
Reference in New Issue
Block a user