Hello Liliana,
On 2/14/22 20:33, Liliana Marie Prikler wrote:
Hi Zelphir,
Am Montag, dem 14.02.2022 um 18:41 +0000 schrieb Zelphir Kaltstahl:
[...]
I think we need some multi-level printf debugging here.
First, after `source "${GUIX_PROFILE}/etc/profile"`, is
EMACSLOADPATH
correctly pointing to the share/emacs/site-lisp of
${GUIX_EXTRA_PROFILES}/emacs-test-profile?
Second, before and after executing your init.el snippet, what are
the
contents of load-path?
Do they contain /gnu/store/SOME_LONG_HASH-magit-MAGIT_VERSION?
Cheers
To simplify things, I created a shell script, which does the calls:
~~~~
#!/usr/bin/env bash
set -Eeuxo pipefail
# source the environment
GUIX_PROFILE="${GUIX_EXTRA_PROFILES}/emacs-test-profile"
. "${GUIX_PROFILE}/etc/profile"
printf "emacs load path: %s\n" "${EMACSLOADPATH}"
# run emacs
env XMODIFIERS='' emacs
~~~~
This outputs the following:
~~~~
[...]
~~~~
Magit line is:
~~~~
"/gnu/store/f0461m96rhnpkmhjlj06yz058pqyj02d-emacs-magit-
3.3.0/share/emacs/site-lisp/magit-3.3.0"
~~~~