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:
parent
6b5c34a1db
commit
4786e739af
1 changed files with 6 additions and 0 deletions
|
@ -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"))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue