On 2/14/22 03:50, Michael Rohleder wrote:
Zelphir Kaltstahl<zelphirkaltst...@posteo.de> writes:
I noticed, that the emacs-magit package does not seem to work. When I
install it via guix and load it via guix-init in my init.el file, I
get the following error in my *Messages* buffer:
What do you mean with "load it via guix-init in my init.el"?
with e.g.
`guix shell -C -E TERM emacs-no-x emacs-magit -- emacs`
magit seems to work.
Hi Michael!
What I mean by that is the following in `init.el`:
~~~~
(setq guix-package-enable-at-startup t)
(require 'guix-init nil t)
~~~~
I have a separate profile, which I created for Emacs and Emacs packages from
Guix:
~~~~
$ guix package --manifest="${GUIX_EXTRA_PROFILES}"/emacs-test-profile-manifest.scm
--profile="${GUIX_EXTRA_PROFILES}"/emacs-test-profile
$ GUIX_PROFILE="${GUIX_EXTRA_PROFILES}/emacs-test-profile"; source
"${GUIX_PROFILE}/etc/profile"
$ emacs
~~~~
Where the `manifest.scm` contains:
~~~~
(specifications->manifest
'("emacs"
"emacs-auto-complete"
"emacs-company"
"emacs-dockerfile-mode"
"emacs-editorconfig"
"emacs-erlang"
"emacs-exec-path-from-shell"
"emacs-flycheck"
"emacs-geiser"
"emacs-geiser-guile"
"emacs-geiser-racket"
"emacs-goto-chg"
"emacs-jinja2-mode"
"emacs-json-mode"
"emacs-magit"
"emacs-markdown-mode"
"emacs-moe-theme-el"
"emacs-monokai-theme"
"emacs-multiple-cursors"
"emacs-neotree"
"emacs-ob-async"
"emacs-org"
"emacs-ox-gfm"
"emacs-pkg-info"
"emacs-python-environment"
"emacs-racket-mode"
"emacs-sml-mode"
"emacs-toml-mode"
"emacs-typescript-mode"
"emacs-undo-tree"
"emacs-web-mode"
"emacs-yaml-mode"
"emacs-yasnippet"
"guile"
"guile-colorized"
"guile-fslib"
"guile-json"
"guile-readline"
"racket"))
~~~~
The channel is currently:
~~~~
$ guix describe --format=channels
(list (channel
(name 'guix)
(url"https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(commit
"74afcc0f555699d9d6a040fded04a1a379c0b1de")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))
~~~~
When I run `emacs` with that profile, I get the error I described earlier.
Regards,
Zelphir
--
repositories:https://notabug.org/ZelphirKaltstahl