GNU bug report logs -
#52002
missing $GUIX_PROFILE/share/emacs/site-lisp in EMACSLOADPATH
Previous Next
Reported by: bbb ee <blasforr <at> gmail.com>
Date: Sat, 20 Nov 2021 17:05:02 UTC
Severity: normal
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
## Description of bug
emacs can't load packages installed by guix because missing
$GUIX_PROFILE/share/emacs/site-lisp
in EMACSLOADPATH
$GUIX_PROFILE/share/emacs/site-lisp isn't set in my
$GUIX_PROFILE/etc/profile and not in my $EMACSLOADPATH
```
$ echo $EMACSLOADPATH
/run/current-system/profile/share/emacs/site-lisp:/run/current-system/profile/share/emacs/27.1/lisp
$ less $GUIX_PROFILE/etc/profile
export EMACSLOADPATH="${GUIX_PROFILE:-/gnu/store/vq5dzmbx202z9p5hjyxfzcdpyzapxgxg-profile}/share/emacs/site-lisp:${GUIX_PROFILE:-/gnu/store/vq5dzmbx202z9p5hjyxfzcdpyzapxgxg-profile}/share/emacs/27.1/lisp${EMACSLOADPATH:+:}$EMACSLOADPATH"
```
## Workaround used
add in init.el
```
(add-to-list 'load-path "/home/dev_1/.guix-profile/share/emacs/site-lisp")
(guix-emacs-autoload-packages)
```
## version
emacs 27.1
[Message part 2 (text/html, inline)]
This bug report was last modified 1 year and 234 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.