unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#52002: missing $GUIX_PROFILE/share/emacs/site-lisp in EMACSLOADPATH
@ 2021-11-20  9:19 bbb ee
  2021-11-21  4:25 ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: bbb ee @ 2021-11-20  9:19 UTC (permalink / raw)
  To: 52002

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

## 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

[-- Attachment #2: Type: text/html, Size: 1240 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-28  2:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-20  9:19 bug#52002: missing $GUIX_PROFILE/share/emacs/site-lisp in EMACSLOADPATH bbb ee
2021-11-21  4:25 ` Maxim Cournoyer
2021-11-27 10:09   ` bbb ee
2021-11-28  2:30     ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).