* Missing dependency for emacs-magit @ 2022-02-13 23:51 Zelphir Kaltstahl 2022-02-14 2:50 ` Michael Rohleder 0 siblings, 1 reply; 17+ messages in thread From: Zelphir Kaltstahl @ 2022-02-13 23:51 UTC (permalink / raw) To: guix-devel [-- Attachment #1: Type: text/plain, Size: 1270 bytes --] Hi! 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: Unable to activate package ‘magit’. Required package ‘git-commit-3.3.0’ is unavailable I checked for `guix search emacs-git-commit`, but it does not yet exist on guix apparently. It does show up on `M-x list-pack RET` in Emacs though. I am trying to make a clean reproducible Emacs setup using guix packages and perhaps leaving away any packages not on guix yet, but this seems like an oversight, since emacs-magit is already on guix. I am currently on: ~~~~ $ 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"))))) ~~~~ Do I need to provide anything more, to make this a conclusive report? Regards, Zelphir -- repositories:https://notabug.org/ZelphirKaltstahl [-- Attachment #2: Type: text/html, Size: 1781 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-13 23:51 Missing dependency for emacs-magit Zelphir Kaltstahl @ 2022-02-14 2:50 ` Michael Rohleder 2022-02-14 18:41 ` Zelphir Kaltstahl 0 siblings, 1 reply; 17+ messages in thread From: Michael Rohleder @ 2022-02-14 2:50 UTC (permalink / raw) To: Zelphir Kaltstahl; +Cc: guix-devel [-- Attachment #1: Type: text/plain, Size: 482 bytes --] Zelphir Kaltstahl <zelphirkaltstahl@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. -- I'm still waiting for the advent of the computer science groupie. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 511 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-14 2:50 ` Michael Rohleder @ 2022-02-14 18:41 ` Zelphir Kaltstahl 2022-02-14 19:33 ` Liliana Marie Prikler 0 siblings, 1 reply; 17+ messages in thread From: Zelphir Kaltstahl @ 2022-02-14 18:41 UTC (permalink / raw) To: Michael Rohleder; +Cc: guix-devel [-- Attachment #1: Type: text/plain, Size: 2505 bytes --] On 2/14/22 03:50, Michael Rohleder wrote: > Zelphir Kaltstahl<zelphirkaltstahl@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 [-- Attachment #2: Type: text/html, Size: 3361 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-14 18:41 ` Zelphir Kaltstahl @ 2022-02-14 19:33 ` Liliana Marie Prikler 2022-02-15 9:45 ` Zelphir Kaltstahl 0 siblings, 1 reply; 17+ messages in thread From: Liliana Marie Prikler @ 2022-02-14 19:33 UTC (permalink / raw) To: Zelphir Kaltstahl, Michael Rohleder; +Cc: guix-devel Hi Zelphir, Am Montag, dem 14.02.2022 um 18:41 +0000 schrieb Zelphir Kaltstahl: > 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: > ~~~~ > [...] > ~~~~ > The channel is currently: > ~~~~ > [...] > ~~~~ > When I run `emacs` with that profile, I get the error I described > earlier. 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 ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-14 19:33 ` Liliana Marie Prikler @ 2022-02-15 9:45 ` Zelphir Kaltstahl 2022-02-15 19:54 ` Liliana Marie Prikler 0 siblings, 1 reply; 17+ messages in thread From: Zelphir Kaltstahl @ 2022-02-15 9:45 UTC (permalink / raw) To: Liliana Marie Prikler, Michael Rohleder; +Cc: guix-devel 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: >> 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: >> ~~~~ >> [...] >> ~~~~ >> The channel is currently: >> ~~~~ >> [...] >> ~~~~ >> When I run `emacs` with that profile, I get the error I described >> earlier. > 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: ~~~~ + GUIX_PROFILE=/home/user/.guix-extra-profiles/emacs-test-profile + . /home/user/.guix-extra-profiles/emacs-test-profile/etc/profile ++ export PATH=/home/user/.guix-extra-profiles/emacs-test-profile/bin:/home/user/.cargo/bin:/home/hans/.config/guix/current/bin:/home/user/.config/guix/current/bin:/home/user/.config/guix/current/sbin:/home/user/.config/guix/current/bin:/home/user/.local/bin:/home/user/.guix-profile/bin:/home/user/.config/guix/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/user/.local/bin ++ PATH=/home/user/.guix-extra-profiles/emacs-test-profile/bin:/home/user/.cargo/bin:/home/hans/.config/guix/current/bin:/home/user/.config/guix/current/bin:/home/user/.config/guix/current/sbin:/home/user/.config/guix/current/bin:/home/user/.local/bin:/home/user/.guix-profile/bin:/home/user/.config/guix/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/user/.local/bin ++ export INFOPATH=/home/user/.guix-extra-profiles/emacs-test-profile/share/info:/home/user/.config/guix/current/share/info:/home/user/.guix-profile/share/info:/home/user/.config/guix/current/share/info: ++ INFOPATH=/home/user/.guix-extra-profiles/emacs-test-profile/share/info:/home/user/.config/guix/current/share/info:/home/user/.guix-profile/share/info:/home/user/.config/guix/current/share/info: ++ export EMACSLOADPATH=/home/user/.guix-extra-profiles/emacs-test-profile/share/emacs/site-lisp:/home/user/.guix-profile/share/emacs/site-lisp ++ EMACSLOADPATH=/home/user/.guix-extra-profiles/emacs-test-profile/share/emacs/site-lisp:/home/user/.guix-profile/share/emacs/site-lisp ++ export GUILE_LOAD_COMPILED_PATH=/home/user/.guix-extra-profiles/emacs-test-profile/lib/guile/3.0/site-ccache:/home/user/.guix-extra-profiles/emacs-test-profile/share/guile/site/3.0:/home/user/.guix-profile/lib/guile/3.0/site-ccache:/home/user/.guix-profile/share/guile/site/3.0 ++ GUILE_LOAD_COMPILED_PATH=/home/user/.guix-extra-profiles/emacs-test-profile/lib/guile/3.0/site-ccache:/home/user/.guix-extra-profiles/emacs-test-profile/share/guile/site/3.0:/home/user/.guix-profile/lib/guile/3.0/site-ccache:/home/user/.guix-profile/share/guile/site/3.0 ++ export GUILE_LOAD_PATH=/home/user/.guix-extra-profiles/emacs-test-profile/share/guile/site/3.0:/home/user/.guix-profile/share/guile/site/3.0 ++ GUILE_LOAD_PATH=/home/user/.guix-extra-profiles/emacs-test-profile/share/guile/site/3.0:/home/user/.guix-profile/share/guile/site/3.0 + printf 'emacs load path: %s\n' /home/user/.guix-extra-profiles/emacs-test-profile/share/emacs/site-lisp:/home/user/.guix-profile/share/emacs/site-lisp emacs load path: /home/user/.guix-extra-profiles/emacs-test-profile/share/emacs/site-lisp:/home/user/.guix-profile/share/emacs/site-lisp + env XMODIFIERS= emacs ~~~~ So the $EMACSLOADPATH before starting Emacs is: ~~~~ /home/user/.guix-extra-profiles/emacs-test-profile/share/emacs/site-lisp:/home/user/.guix-profile/share/emacs/site-lisp ~~~~ About load-path inside Emacs: I think I can get the value before loading `init.el` with `emacs -Q` (?): ~~~~ ("~/.guix-extra-profiles/emacs-test-profile/share/emacs/site-lisp/" "/home/user/.emacs.d/elpa/transient-0.3.7" "/home/user/.guix-extra-profiles/emacs-test-profile/share/emacs/site-lisp" "/gnu/store/7nd7zr9f3wzkvkcgvc821j7jmnd3x67l-emacs-auto-complete-1.5.1/share/emacs/site-lisp/auto-complete-1.5.1" "/gnu/store/8998whgnidk2qaz8543g134w13bk3rxh-emacs-popup-0.5.8/share/emacs/site-lisp/popup-0.5.8" "/gnu/store/7ljkbrdm5684gdparxrlzfqw063vzgfz-emacs-company-0.9.13/share/emacs/site-lisp/company-0.9.13" "/gnu/store/yp7x9gxskxqqchp9s18mramz0zj4wdj5-emacs-dockerfile-mode-1.5/share/emacs/site-lisp/dockerfile-mode-1.5" "/gnu/store/b5gbdk74m8nvich1bsrhndgywghzjrr8-emacs-s-1.12.0/share/emacs/site-lisp/s-1.12.0" "/gnu/store/53kkw0k17akjnv87ayil00ckfd811lin-emacs-editorconfig-0.8.2/share/emacs/site-lisp/editorconfig-0.8.2" "/gnu/store/hj21pvi9b0d5b8prjiknkh42x9dxlcpw-emacs-erlang-24.2.1/share/emacs/site-lisp/erlang-24.2.1" "/gnu/store/i3q4d34w5bfd8axkr2aghw3m6zb99mxx-emacs-exec-path-from-shell-1.12/share/emacs/site-lisp/exec-path-from-shell-1.12" "/gnu/store/s59gcr327a4zb7rfg4bcvfbh9bym5dmg-emacs-flycheck-31-2.9bcf6b6/share/emacs/site-lisp/flycheck-31-2.9bcf6b6" "/gnu/store/fvzak5a6q34k11mqvlavq4n3xl1ra3bq-emacs-dash-2.19.1/share/emacs/site-lisp/dash-2.19.1" "/gnu/store/hg9m6iy95i62nzw208zqwxw9aq776lbm-emacs-geiser-0.22.2/share/emacs/site-lisp/geiser-0.22.2" "/gnu/store/2qyyq1sqkk2aa6s32n0s54qx5xnfa3l8-emacs-transient-0.3.7/share/emacs/site-lisp/transient-0.3.7" "/gnu/store/pdmawz46873xcqh8xbdk0s567f669vlm-emacs-geiser-guile-0.21.2/share/emacs/site-lisp/geiser-guile-0.21.2" "/gnu/store/86bxc9g1k4gpqd7669krjms0z1vsa38x-emacs-geiser-racket-0.16/share/emacs/site-lisp/geiser-racket-0.16" "/gnu/store/3abqz7zzbm97mb84c747kwcgwfhanxsk-emacs-goto-chg-1.7.5/share/emacs/site-lisp/goto-chg-1.7.5" "/gnu/store/6lgbq6854yfjc3hjz61s38s1mha7cvqv-emacs-jinja2-mode-0.2/share/emacs/site-lisp/jinja2-mode-0.2" "/gnu/store/i4x8j4hpp69mh3d7wbcasfldgxc71i8x-emacs-json-mode-1.8.0/share/emacs/site-lisp/json-mode-1.8.0" "/gnu/store/j4xwxd8472fqcxn75zd0accdbl8wx90l-emacs-json-reformat-0.0.6/share/emacs/site-lisp/json-reformat-0.0.6" "/gnu/store/mdirnb4lrywcwzsp5da92k0j3yyxvc61-emacs-undercover-0.8.1/share/emacs/site-lisp/undercover-0.8.1" "/gnu/store/gmir32d1y1igxv4l5f1200djrk36v4w1-emacs-shut-up-0.3.3/share/emacs/site-lisp/shut-up-0.3.3" "/gnu/store/xh4vgxc6cm468m8pd9yv83lzwl6z504f-emacs-json-snatcher-1.0.0/share/emacs/site-lisp/json-snatcher-1.0.0" "/gnu/store/f0461m96rhnpkmhjlj06yz058pqyj02d-emacs-magit-3.3.0/share/emacs/site-lisp/magit-3.3.0" "/gnu/store/w6abqmr8nscb2wjcy7p5542npbi6bdqx-emacs-libgit-20200515-1.0ef8b13/share/emacs/site-lisp/libgit-20200515-1.0ef8b13" "/gnu/store/d7rrmsc4g2crmvq4316vgiy9cbmj0hh1-emacs-with-editor-3.2.0/share/emacs/site-lisp/with-editor-3.2.0" "/gnu/store/fja2phl12v442fxwss009p4d0dkb2jxi-emacs-async-1.9.4/share/emacs/site-lisp/async-1.9.4" "/gnu/store/8332kj63vk686jxk8y6j4pg58phy3136-emacs-markdown-mode-2.5/share/emacs/site-lisp/markdown-mode-2.5" "/gnu/store/b7dhxpp3idl018mb6m5qdlm5959zfsci-emacs-moe-theme-el-1.0.1/share/emacs/site-lisp/moe-theme-el-1.0.1" "/gnu/store/9wyk1rjsndk6xdq3zz1xbx81jdncpy55-emacs-monokai-theme-3.5.3/share/emacs/site-lisp/monokai-theme-3.5.3" "/gnu/store/mpksl4lcd68grajgafp49g16b1myahmh-emacs-multiple-cursors-1.4.0/share/emacs/site-lisp/multiple-cursors-1.4.0" "/gnu/store/8hknfa6c8znpw9j1h20xdrvlbgsb38h9-emacs-neotree-0.5.2/share/emacs/site-lisp/neotree-0.5.2" "/gnu/store/iiz1li7ya3815ni46b38nfdqj2kwr60k-emacs-ob-async-1.0.0/share/emacs/site-lisp/ob-async-1.0.0" "/gnu/store/89yvbijwnvsbpa5h33mvbgh1gy9w30n2-emacs-org-9.5.2/share/emacs/site-lisp/org-9.5.2" "/gnu/store/ym8hv4wq02crkak4khmx60p47sml8c29-emacs-ox-gfm-1.0/share/emacs/site-lisp/ox-gfm-1.0" "/gnu/store/isw5xf10kmagsdvdr85sp4fb35hfdg24-emacs-pkg-info-0.6/share/emacs/site-lisp/pkg-info-0.6" "/gnu/store/idd66ahndjk3iz5s74djxn48nbglvzcp-emacs-epl-0.9/share/emacs/site-lisp/epl-0.9" "/gnu/store/z70s60p1cch9ipxn4cg0cpx4wl4l8jrg-emacs-python-environment-0.0.2/share/emacs/site-lisp/python-environment-0.0.2" "/gnu/store/m18sp4h5kqjs3c0xl9svk4ja6gc6z3x0-emacs-deferred-0.5.1/share/emacs/site-lisp/deferred-0.5.1" "/gnu/store/3kgx4bkr4996gbp0kpv0gpy4xbi5m5gn-emacs-racket-mode-0.0.2-7.cef5a55/share/emacs/site-lisp/racket-mode-0.0.2-7.cef5a55" "/gnu/store/5qwgv8av8clidf8s4l4fvhhxhzsck8ac-emacs-faceup-0.0.1-1.6c92dad/share/emacs/site-lisp/faceup-0.0.1-1.6c92dad" "/gnu/store/wglz1qxv61wfyc01qvkjf31iwg67f91s-emacs-paredit-24/share/emacs/site-lisp/paredit-24" "/gnu/store/wcc0sx20ic1krsvh16vsxz0vnf1z1bpa-emacs-pos-tip-0.4.6/share/emacs/site-lisp/pos-tip-0.4.6" "/gnu/store/mb4ssbch8fxw7xwf7ayrzfcdha388xcb-emacs-sml-mode-6.10/share/emacs/site-lisp/sml-mode-6.10" "/gnu/store/f2rnvfhgqb4gz2w6ha1kbqlrrlgkvxky-emacs-toml-mode-0.1.3-0.f6c6181/share/emacs/site-lisp/toml-mode-0.1.3-0.f6c6181" "/gnu/store/9hmijb2njbsfq6zjp56s4fvaric561q8-emacs-typescript-mode-0.4/share/emacs/site-lisp/typescript-mode-0.4" "/gnu/store/r23l9djrvy7881nq0fi9d9kl8xs0nbrz-emacs-undo-tree-0.8.1/share/emacs/site-lisp/undo-tree-0.8.1" "/gnu/store/p0mzmylc5c5sz923rzp1i4bp0zqr51fv-emacs-queue-0.2/share/emacs/site-lisp/queue-0.2" "/gnu/store/gi85l4ij08p3xk6wxf07cc8di0626cfy-emacs-web-mode-17/share/emacs/site-lisp/web-mode-17" "/gnu/store/505akpilx9x5rxi76adb70b1fbh4rf2w-emacs-yaml-mode-0.0.15/share/emacs/site-lisp/yaml-mode-0.0.15" "/gnu/store/2v996xn5x5wyffbk5sxq93rh0sys2qac-emacs-yasnippet-0.14.0/share/emacs/site-lisp/yasnippet-0.14.0" "/home/user/.guix-profile/share/emacs/site-lisp" "/gnu/store/3kgx4bkr4996gbp0kpv0gpy4xbi5m5gn-emacs-racket-mode-0.0.2-7.cef5a55/share/emacs/site-lisp/racket-mode-0.0.2-7.cef5a55" "/gnu/store/5qwgv8av8clidf8s4l4fvhhxhzsck8ac-emacs-faceup-0.0.1-1.6c92dad/share/emacs/site-lisp/faceup-0.0.1-1.6c92dad" "/gnu/store/wglz1qxv61wfyc01qvkjf31iwg67f91s-emacs-paredit-24/share/emacs/site-lisp/paredit-24" "/gnu/store/wcc0sx20ic1krsvh16vsxz0vnf1z1bpa-emacs-pos-tip-0.4.6/share/emacs/site-lisp/pos-tip-0.4.6" "/gnu/store/b5gbdk74m8nvich1bsrhndgywghzjrr8-emacs-s-1.12.0/share/emacs/site-lisp/s-1.12.0" "/gnu/store/8332kj63vk686jxk8y6j4pg58phy3136-emacs-markdown-mode-2.5/share/emacs/site-lisp/markdown-mode-2.5" "/gnu/store/f0461m96rhnpkmhjlj06yz058pqyj02d-emacs-magit-3.3.0/share/emacs/site-lisp/magit-3.3.0" "/gnu/store/fvzak5a6q34k11mqvlavq4n3xl1ra3bq-emacs-dash-2.19.1/share/emacs/site-lisp/dash-2.19.1" "/gnu/store/w6abqmr8nscb2wjcy7p5542npbi6bdqx-emacs-libgit-20200515-1.0ef8b13/share/emacs/site-lisp/libgit-20200515-1.0ef8b13" "/gnu/store/2qyyq1sqkk2aa6s32n0s54qx5xnfa3l8-emacs-transient-0.3.7/share/emacs/site-lisp/transient-0.3.7" "/gnu/store/d7rrmsc4g2crmvq4316vgiy9cbmj0hh1-emacs-with-editor-3.2.0/share/emacs/site-lisp/with-editor-3.2.0" "/gnu/store/fja2phl12v442fxwss009p4d0dkb2jxi-emacs-async-1.9.4/share/emacs/site-lisp/async-1.9.4" "/gnu/store/2v996xn5x5wyffbk5sxq93rh0sys2qac-emacs-yasnippet-0.14.0/share/emacs/site-lisp/yasnippet-0.14.0" "/gnu/store/505akpilx9x5rxi76adb70b1fbh4rf2w-emacs-yaml-mode-0.0.15/share/emacs/site-lisp/yaml-mode-0.0.15" "/gnu/store/gi85l4ij08p3xk6wxf07cc8di0626cfy-emacs-web-mode-17/share/emacs/site-lisp/web-mode-17" "/gnu/store/f2rnvfhgqb4gz2w6ha1kbqlrrlgkvxky-emacs-toml-mode-0.1.3-0.f6c6181/share/emacs/site-lisp/toml-mode-0.1.3-0.f6c6181" "/gnu/store/mb4ssbch8fxw7xwf7ayrzfcdha388xcb-emacs-sml-mode-6.10/share/emacs/site-lisp/sml-mode-6.10" "/gnu/store/mpksl4lcd68grajgafp49g16b1myahmh-emacs-multiple-cursors-1.4.0/share/emacs/site-lisp/multiple-cursors-1.4.0" "/gnu/store/3abqz7zzbm97mb84c747kwcgwfhanxsk-emacs-goto-chg-1.7.5/share/emacs/site-lisp/goto-chg-1.7.5" "/gnu/store/9hmijb2njbsfq6zjp56s4fvaric561q8-emacs-typescript-mode-0.4/share/emacs/site-lisp/typescript-mode-0.4" "/gnu/store/ym8hv4wq02crkak4khmx60p47sml8c29-emacs-ox-gfm-1.0/share/emacs/site-lisp/ox-gfm-1.0" "/gnu/store/hj21pvi9b0d5b8prjiknkh42x9dxlcpw-emacs-erlang-24.2.1/share/emacs/site-lisp/erlang-24.2.1" "/gnu/store/i3q4d34w5bfd8axkr2aghw3m6zb99mxx-emacs-exec-path-from-shell-1.12/share/emacs/site-lisp/exec-path-from-shell-1.12" "/gnu/store/9wyk1rjsndk6xdq3zz1xbx81jdncpy55-emacs-monokai-theme-3.5.3/share/emacs/site-lisp/monokai-theme-3.5.3" "/gnu/store/b7dhxpp3idl018mb6m5qdlm5959zfsci-emacs-moe-theme-el-1.0.1/share/emacs/site-lisp/moe-theme-el-1.0.1" "/gnu/store/r23l9djrvy7881nq0fi9d9kl8xs0nbrz-emacs-undo-tree-0.8.1/share/emacs/site-lisp/undo-tree-0.8.1" "/gnu/store/p0mzmylc5c5sz923rzp1i4bp0zqr51fv-emacs-queue-0.2/share/emacs/site-lisp/queue-0.2" "/gnu/store/z70s60p1cch9ipxn4cg0cpx4wl4l8jrg-emacs-python-environment-0.0.2/share/emacs/site-lisp/python-environment-0.0.2" "/gnu/store/m18sp4h5kqjs3c0xl9svk4ja6gc6z3x0-emacs-deferred-0.5.1/share/emacs/site-lisp/deferred-0.5.1" "/gnu/store/isw5xf10kmagsdvdr85sp4fb35hfdg24-emacs-pkg-info-0.6/share/emacs/site-lisp/pkg-info-0.6" "/gnu/store/idd66ahndjk3iz5s74djxn48nbglvzcp-emacs-epl-0.9/share/emacs/site-lisp/epl-0.9" "/gnu/store/8hknfa6c8znpw9j1h20xdrvlbgsb38h9-emacs-neotree-0.5.2/share/emacs/site-lisp/neotree-0.5.2" "/gnu/store/i4x8j4hpp69mh3d7wbcasfldgxc71i8x-emacs-json-mode-1.8.0/share/emacs/site-lisp/json-mode-1.8.0" "/gnu/store/j4xwxd8472fqcxn75zd0accdbl8wx90l-emacs-json-reformat-0.0.6/share/emacs/site-lisp/json-reformat-0.0.6" "/gnu/store/mdirnb4lrywcwzsp5da92k0j3yyxvc61-emacs-undercover-0.8.1/share/emacs/site-lisp/undercover-0.8.1" "/gnu/store/gmir32d1y1igxv4l5f1200djrk36v4w1-emacs-shut-up-0.3.3/share/emacs/site-lisp/shut-up-0.3.3" "/gnu/store/xh4vgxc6cm468m8pd9yv83lzwl6z504f-emacs-json-snatcher-1.0.0/share/emacs/site-lisp/json-snatcher-1.0.0" "/gnu/store/6lgbq6854yfjc3hjz61s38s1mha7cvqv-emacs-jinja2-mode-0.2/share/emacs/site-lisp/jinja2-mode-0.2" "/gnu/store/s59gcr327a4zb7rfg4bcvfbh9bym5dmg-emacs-flycheck-31-2.9bcf6b6/share/emacs/site-lisp/flycheck-31-2.9bcf6b6" "/gnu/store/53kkw0k17akjnv87ayil00ckfd811lin-emacs-editorconfig-0.8.2/share/emacs/site-lisp/editorconfig-0.8.2" "/gnu/store/yp7x9gxskxqqchp9s18mramz0zj4wdj5-emacs-dockerfile-mode-1.5/share/emacs/site-lisp/dockerfile-mode-1.5" "/gnu/store/7ljkbrdm5684gdparxrlzfqw063vzgfz-emacs-company-0.9.13/share/emacs/site-lisp/company-0.9.13" "/gnu/store/7nd7zr9f3wzkvkcgvc821j7jmnd3x67l-emacs-auto-complete-1.5.1/share/emacs/site-lisp/auto-complete-1.5.1" "/gnu/store/8998whgnidk2qaz8543g134w13bk3rxh-emacs-popup-0.5.8/share/emacs/site-lisp/popup-0.5.8" "/gnu/store/iiz1li7ya3815ni46b38nfdqj2kwr60k-emacs-ob-async-1.0.0/share/emacs/site-lisp/ob-async-1.0.0" "/gnu/store/89yvbijwnvsbpa5h33mvbgh1gy9w30n2-emacs-org-9.5.2/share/emacs/site-lisp/org-9.5.2" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/vc" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/url" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/textmodes" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/progmodes" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/play" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/org" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/nxml" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/net" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/mh-e" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/mail" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/leim" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/language" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/international" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/image" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/gnus" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/eshell" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/erc" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/emulation" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/emacs-lisp" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/cedet" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/calendar" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/calc" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/obsolete") ~~~~ (I broke the very long line of all that being in one line for readability reason.) The magit line is: ~~~~ "/gnu/store/f0461m96rhnpkmhjlj06yz058pqyj02d-emacs-magit-3.3.0/share/emacs/site-lisp/magit-3.3.0" ~~~~ And after loading `init.el` (starting emacs using the script): ~~~~ ("/home/user/.guix-extra-profiles/emacs-test-profile/share/emacs/site-lisp" "/gnu/store/7nd7zr9f3wzkvkcgvc821j7jmnd3x67l-emacs-auto-complete-1.5.1/share/emacs/site-lisp/auto-complete-1.5.1" "/gnu/store/8998whgnidk2qaz8543g134w13bk3rxh-emacs-popup-0.5.8/share/emacs/site-lisp/popup-0.5.8" "/gnu/store/7ljkbrdm5684gdparxrlzfqw063vzgfz-emacs-company-0.9.13/share/emacs/site-lisp/company-0.9.13" "/gnu/store/yp7x9gxskxqqchp9s18mramz0zj4wdj5-emacs-dockerfile-mode-1.5/share/emacs/site-lisp/dockerfile-mode-1.5" "/gnu/store/b5gbdk74m8nvich1bsrhndgywghzjrr8-emacs-s-1.12.0/share/emacs/site-lisp/s-1.12.0" "/gnu/store/53kkw0k17akjnv87ayil00ckfd811lin-emacs-editorconfig-0.8.2/share/emacs/site-lisp/editorconfig-0.8.2" "/gnu/store/hj21pvi9b0d5b8prjiknkh42x9dxlcpw-emacs-erlang-24.2.1/share/emacs/site-lisp/erlang-24.2.1" "/gnu/store/i3q4d34w5bfd8axkr2aghw3m6zb99mxx-emacs-exec-path-from-shell-1.12/share/emacs/site-lisp/exec-path-from-shell-1.12" "/gnu/store/s59gcr327a4zb7rfg4bcvfbh9bym5dmg-emacs-flycheck-31-2.9bcf6b6/share/emacs/site-lisp/flycheck-31-2.9bcf6b6" "/gnu/store/fvzak5a6q34k11mqvlavq4n3xl1ra3bq-emacs-dash-2.19.1/share/emacs/site-lisp/dash-2.19.1" "/gnu/store/hg9m6iy95i62nzw208zqwxw9aq776lbm-emacs-geiser-0.22.2/share/emacs/site-lisp/geiser-0.22.2" "/gnu/store/2qyyq1sqkk2aa6s32n0s54qx5xnfa3l8-emacs-transient-0.3.7/share/emacs/site-lisp/transient-0.3.7" "/gnu/store/pdmawz46873xcqh8xbdk0s567f669vlm-emacs-geiser-guile-0.21.2/share/emacs/site-lisp/geiser-guile-0.21.2" "/gnu/store/86bxc9g1k4gpqd7669krjms0z1vsa38x-emacs-geiser-racket-0.16/share/emacs/site-lisp/geiser-racket-0.16" "/gnu/store/3abqz7zzbm97mb84c747kwcgwfhanxsk-emacs-goto-chg-1.7.5/share/emacs/site-lisp/goto-chg-1.7.5" "/gnu/store/6lgbq6854yfjc3hjz61s38s1mha7cvqv-emacs-jinja2-mode-0.2/share/emacs/site-lisp/jinja2-mode-0.2" "/gnu/store/i4x8j4hpp69mh3d7wbcasfldgxc71i8x-emacs-json-mode-1.8.0/share/emacs/site-lisp/json-mode-1.8.0" "/gnu/store/j4xwxd8472fqcxn75zd0accdbl8wx90l-emacs-json-reformat-0.0.6/share/emacs/site-lisp/json-reformat-0.0.6" "/gnu/store/mdirnb4lrywcwzsp5da92k0j3yyxvc61-emacs-undercover-0.8.1/share/emacs/site-lisp/undercover-0.8.1" "/gnu/store/gmir32d1y1igxv4l5f1200djrk36v4w1-emacs-shut-up-0.3.3/share/emacs/site-lisp/shut-up-0.3.3" "/gnu/store/xh4vgxc6cm468m8pd9yv83lzwl6z504f-emacs-json-snatcher-1.0.0/share/emacs/site-lisp/json-snatcher-1.0.0" "/gnu/store/f0461m96rhnpkmhjlj06yz058pqyj02d-emacs-magit-3.3.0/share/emacs/site-lisp/magit-3.3.0" "/gnu/store/w6abqmr8nscb2wjcy7p5542npbi6bdqx-emacs-libgit-20200515-1.0ef8b13/share/emacs/site-lisp/libgit-20200515-1.0ef8b13" "/gnu/store/d7rrmsc4g2crmvq4316vgiy9cbmj0hh1-emacs-with-editor-3.2.0/share/emacs/site-lisp/with-editor-3.2.0" "/gnu/store/fja2phl12v442fxwss009p4d0dkb2jxi-emacs-async-1.9.4/share/emacs/site-lisp/async-1.9.4" "/gnu/store/8332kj63vk686jxk8y6j4pg58phy3136-emacs-markdown-mode-2.5/share/emacs/site-lisp/markdown-mode-2.5" "/gnu/store/b7dhxpp3idl018mb6m5qdlm5959zfsci-emacs-moe-theme-el-1.0.1/share/emacs/site-lisp/moe-theme-el-1.0.1" "/gnu/store/9wyk1rjsndk6xdq3zz1xbx81jdncpy55-emacs-monokai-theme-3.5.3/share/emacs/site-lisp/monokai-theme-3.5.3" "/gnu/store/mpksl4lcd68grajgafp49g16b1myahmh-emacs-multiple-cursors-1.4.0/share/emacs/site-lisp/multiple-cursors-1.4.0" "/gnu/store/8hknfa6c8znpw9j1h20xdrvlbgsb38h9-emacs-neotree-0.5.2/share/emacs/site-lisp/neotree-0.5.2" "/gnu/store/iiz1li7ya3815ni46b38nfdqj2kwr60k-emacs-ob-async-1.0.0/share/emacs/site-lisp/ob-async-1.0.0" "/gnu/store/89yvbijwnvsbpa5h33mvbgh1gy9w30n2-emacs-org-9.5.2/share/emacs/site-lisp/org-9.5.2" "/gnu/store/ym8hv4wq02crkak4khmx60p47sml8c29-emacs-ox-gfm-1.0/share/emacs/site-lisp/ox-gfm-1.0" "/gnu/store/isw5xf10kmagsdvdr85sp4fb35hfdg24-emacs-pkg-info-0.6/share/emacs/site-lisp/pkg-info-0.6" "/gnu/store/idd66ahndjk3iz5s74djxn48nbglvzcp-emacs-epl-0.9/share/emacs/site-lisp/epl-0.9" "/gnu/store/z70s60p1cch9ipxn4cg0cpx4wl4l8jrg-emacs-python-environment-0.0.2/share/emacs/site-lisp/python-environment-0.0.2" "/gnu/store/m18sp4h5kqjs3c0xl9svk4ja6gc6z3x0-emacs-deferred-0.5.1/share/emacs/site-lisp/deferred-0.5.1" "/gnu/store/3kgx4bkr4996gbp0kpv0gpy4xbi5m5gn-emacs-racket-mode-0.0.2-7.cef5a55/share/emacs/site-lisp/racket-mode-0.0.2-7.cef5a55" "/gnu/store/5qwgv8av8clidf8s4l4fvhhxhzsck8ac-emacs-faceup-0.0.1-1.6c92dad/share/emacs/site-lisp/faceup-0.0.1-1.6c92dad" "/gnu/store/wglz1qxv61wfyc01qvkjf31iwg67f91s-emacs-paredit-24/share/emacs/site-lisp/paredit-24" "/gnu/store/wcc0sx20ic1krsvh16vsxz0vnf1z1bpa-emacs-pos-tip-0.4.6/share/emacs/site-lisp/pos-tip-0.4.6" "/gnu/store/mb4ssbch8fxw7xwf7ayrzfcdha388xcb-emacs-sml-mode-6.10/share/emacs/site-lisp/sml-mode-6.10" "/gnu/store/f2rnvfhgqb4gz2w6ha1kbqlrrlgkvxky-emacs-toml-mode-0.1.3-0.f6c6181/share/emacs/site-lisp/toml-mode-0.1.3-0.f6c6181" "/gnu/store/9hmijb2njbsfq6zjp56s4fvaric561q8-emacs-typescript-mode-0.4/share/emacs/site-lisp/typescript-mode-0.4" "/gnu/store/r23l9djrvy7881nq0fi9d9kl8xs0nbrz-emacs-undo-tree-0.8.1/share/emacs/site-lisp/undo-tree-0.8.1" "/gnu/store/p0mzmylc5c5sz923rzp1i4bp0zqr51fv-emacs-queue-0.2/share/emacs/site-lisp/queue-0.2" "/gnu/store/gi85l4ij08p3xk6wxf07cc8di0626cfy-emacs-web-mode-17/share/emacs/site-lisp/web-mode-17" "/gnu/store/505akpilx9x5rxi76adb70b1fbh4rf2w-emacs-yaml-mode-0.0.15/share/emacs/site-lisp/yaml-mode-0.0.15" "/gnu/store/2v996xn5x5wyffbk5sxq93rh0sys2qac-emacs-yasnippet-0.14.0/share/emacs/site-lisp/yasnippet-0.14.0" "/home/user/.guix-profile/share/emacs/site-lisp" "/gnu/store/3kgx4bkr4996gbp0kpv0gpy4xbi5m5gn-emacs-racket-mode-0.0.2-7.cef5a55/share/emacs/site-lisp/racket-mode-0.0.2-7.cef5a55" "/gnu/store/5qwgv8av8clidf8s4l4fvhhxhzsck8ac-emacs-faceup-0.0.1-1.6c92dad/share/emacs/site-lisp/faceup-0.0.1-1.6c92dad" "/gnu/store/wglz1qxv61wfyc01qvkjf31iwg67f91s-emacs-paredit-24/share/emacs/site-lisp/paredit-24" "/gnu/store/wcc0sx20ic1krsvh16vsxz0vnf1z1bpa-emacs-pos-tip-0.4.6/share/emacs/site-lisp/pos-tip-0.4.6" "/gnu/store/b5gbdk74m8nvich1bsrhndgywghzjrr8-emacs-s-1.12.0/share/emacs/site-lisp/s-1.12.0" "/gnu/store/8332kj63vk686jxk8y6j4pg58phy3136-emacs-markdown-mode-2.5/share/emacs/site-lisp/markdown-mode-2.5" "/gnu/store/f0461m96rhnpkmhjlj06yz058pqyj02d-emacs-magit-3.3.0/share/emacs/site-lisp/magit-3.3.0" "/gnu/store/fvzak5a6q34k11mqvlavq4n3xl1ra3bq-emacs-dash-2.19.1/share/emacs/site-lisp/dash-2.19.1" "/gnu/store/w6abqmr8nscb2wjcy7p5542npbi6bdqx-emacs-libgit-20200515-1.0ef8b13/share/emacs/site-lisp/libgit-20200515-1.0ef8b13" "/gnu/store/2qyyq1sqkk2aa6s32n0s54qx5xnfa3l8-emacs-transient-0.3.7/share/emacs/site-lisp/transient-0.3.7" "/gnu/store/d7rrmsc4g2crmvq4316vgiy9cbmj0hh1-emacs-with-editor-3.2.0/share/emacs/site-lisp/with-editor-3.2.0" "/gnu/store/fja2phl12v442fxwss009p4d0dkb2jxi-emacs-async-1.9.4/share/emacs/site-lisp/async-1.9.4" "/gnu/store/2v996xn5x5wyffbk5sxq93rh0sys2qac-emacs-yasnippet-0.14.0/share/emacs/site-lisp/yasnippet-0.14.0" "/gnu/store/505akpilx9x5rxi76adb70b1fbh4rf2w-emacs-yaml-mode-0.0.15/share/emacs/site-lisp/yaml-mode-0.0.15" "/gnu/store/gi85l4ij08p3xk6wxf07cc8di0626cfy-emacs-web-mode-17/share/emacs/site-lisp/web-mode-17" "/gnu/store/f2rnvfhgqb4gz2w6ha1kbqlrrlgkvxky-emacs-toml-mode-0.1.3-0.f6c6181/share/emacs/site-lisp/toml-mode-0.1.3-0.f6c6181" "/gnu/store/mb4ssbch8fxw7xwf7ayrzfcdha388xcb-emacs-sml-mode-6.10/share/emacs/site-lisp/sml-mode-6.10" "/gnu/store/mpksl4lcd68grajgafp49g16b1myahmh-emacs-multiple-cursors-1.4.0/share/emacs/site-lisp/multiple-cursors-1.4.0" "/gnu/store/3abqz7zzbm97mb84c747kwcgwfhanxsk-emacs-goto-chg-1.7.5/share/emacs/site-lisp/goto-chg-1.7.5" "/gnu/store/9hmijb2njbsfq6zjp56s4fvaric561q8-emacs-typescript-mode-0.4/share/emacs/site-lisp/typescript-mode-0.4" "/gnu/store/ym8hv4wq02crkak4khmx60p47sml8c29-emacs-ox-gfm-1.0/share/emacs/site-lisp/ox-gfm-1.0" "/gnu/store/hj21pvi9b0d5b8prjiknkh42x9dxlcpw-emacs-erlang-24.2.1/share/emacs/site-lisp/erlang-24.2.1" "/gnu/store/i3q4d34w5bfd8axkr2aghw3m6zb99mxx-emacs-exec-path-from-shell-1.12/share/emacs/site-lisp/exec-path-from-shell-1.12" "/gnu/store/9wyk1rjsndk6xdq3zz1xbx81jdncpy55-emacs-monokai-theme-3.5.3/share/emacs/site-lisp/monokai-theme-3.5.3" "/gnu/store/b7dhxpp3idl018mb6m5qdlm5959zfsci-emacs-moe-theme-el-1.0.1/share/emacs/site-lisp/moe-theme-el-1.0.1" "/gnu/store/r23l9djrvy7881nq0fi9d9kl8xs0nbrz-emacs-undo-tree-0.8.1/share/emacs/site-lisp/undo-tree-0.8.1" "/gnu/store/p0mzmylc5c5sz923rzp1i4bp0zqr51fv-emacs-queue-0.2/share/emacs/site-lisp/queue-0.2" "/gnu/store/z70s60p1cch9ipxn4cg0cpx4wl4l8jrg-emacs-python-environment-0.0.2/share/emacs/site-lisp/python-environment-0.0.2" "/gnu/store/m18sp4h5kqjs3c0xl9svk4ja6gc6z3x0-emacs-deferred-0.5.1/share/emacs/site-lisp/deferred-0.5.1" "/gnu/store/isw5xf10kmagsdvdr85sp4fb35hfdg24-emacs-pkg-info-0.6/share/emacs/site-lisp/pkg-info-0.6" "/gnu/store/idd66ahndjk3iz5s74djxn48nbglvzcp-emacs-epl-0.9/share/emacs/site-lisp/epl-0.9" "/gnu/store/8hknfa6c8znpw9j1h20xdrvlbgsb38h9-emacs-neotree-0.5.2/share/emacs/site-lisp/neotree-0.5.2" "/gnu/store/i4x8j4hpp69mh3d7wbcasfldgxc71i8x-emacs-json-mode-1.8.0/share/emacs/site-lisp/json-mode-1.8.0" "/gnu/store/j4xwxd8472fqcxn75zd0accdbl8wx90l-emacs-json-reformat-0.0.6/share/emacs/site-lisp/json-reformat-0.0.6" "/gnu/store/mdirnb4lrywcwzsp5da92k0j3yyxvc61-emacs-undercover-0.8.1/share/emacs/site-lisp/undercover-0.8.1" "/gnu/store/gmir32d1y1igxv4l5f1200djrk36v4w1-emacs-shut-up-0.3.3/share/emacs/site-lisp/shut-up-0.3.3" "/gnu/store/xh4vgxc6cm468m8pd9yv83lzwl6z504f-emacs-json-snatcher-1.0.0/share/emacs/site-lisp/json-snatcher-1.0.0" "/gnu/store/6lgbq6854yfjc3hjz61s38s1mha7cvqv-emacs-jinja2-mode-0.2/share/emacs/site-lisp/jinja2-mode-0.2" "/gnu/store/s59gcr327a4zb7rfg4bcvfbh9bym5dmg-emacs-flycheck-31-2.9bcf6b6/share/emacs/site-lisp/flycheck-31-2.9bcf6b6" "/gnu/store/53kkw0k17akjnv87ayil00ckfd811lin-emacs-editorconfig-0.8.2/share/emacs/site-lisp/editorconfig-0.8.2" "/gnu/store/yp7x9gxskxqqchp9s18mramz0zj4wdj5-emacs-dockerfile-mode-1.5/share/emacs/site-lisp/dockerfile-mode-1.5" "/gnu/store/7ljkbrdm5684gdparxrlzfqw063vzgfz-emacs-company-0.9.13/share/emacs/site-lisp/company-0.9.13" "/gnu/store/7nd7zr9f3wzkvkcgvc821j7jmnd3x67l-emacs-auto-complete-1.5.1/share/emacs/site-lisp/auto-complete-1.5.1" "/gnu/store/8998whgnidk2qaz8543g134w13bk3rxh-emacs-popup-0.5.8/share/emacs/site-lisp/popup-0.5.8" "/gnu/store/iiz1li7ya3815ni46b38nfdqj2kwr60k-emacs-ob-async-1.0.0/share/emacs/site-lisp/ob-async-1.0.0" "/gnu/store/89yvbijwnvsbpa5h33mvbgh1gy9w30n2-emacs-org-9.5.2/share/emacs/site-lisp/org-9.5.2" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/vc" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/url" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/textmodes" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/progmodes" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/play" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/org" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/nxml" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/net" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/mh-e" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/mail" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/leim" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/language" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/international" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/image" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/gnus" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/eshell" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/erc" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/emulation" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/emacs-lisp" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/cedet" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/calendar" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/calc" "/gnu/store/955rbw95zj8g2a3ail5zf9ml7jzi4zr0-emacs-27.2/share/emacs/27.2/lisp/obsolete") ~~~~ (also broken into multiple lines for readability) Magit line is: ~~~~ "/gnu/store/f0461m96rhnpkmhjlj06yz058pqyj02d-emacs-magit-3.3.0/share/emacs/site-lisp/magit-3.3.0" ~~~~ Seems to be the same as without running the `init.el` file regarding magit at least. This makes sense, as I don't add things to the load-path in the whole `init.el` file, except for: ~~~~ (defconst xl-home "~") (defconst xl-guix-profiles (concat xl-home "/" ".guix-extra-profiles")) (defconst xl-emacs-profile (concat xl-guix-profiles "/" "emacs-test-profile")) (defconst xl-site-lisp-dir (concat xl-emacs-profile "/" "share/emacs/site-lisp/")) (add-to-list 'load-path xl-site-lisp-dir) ~~~~ (Not sure if defconst is the best thing to use, but emacs was complaining when using setq, that I was assigning to variables, which are free, and those strings are actually constant, so I figured that would be appropriate to do and emacs does not complain about it any longer.) Regards, Zelphir -- repositories: https://notabug.org/ZelphirKaltstahl ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-15 9:45 ` Zelphir Kaltstahl @ 2022-02-15 19:54 ` Liliana Marie Prikler 2022-02-16 22:23 ` Zelphir Kaltstahl 0 siblings, 1 reply; 17+ messages in thread From: Liliana Marie Prikler @ 2022-02-15 19:54 UTC (permalink / raw) To: Zelphir Kaltstahl, Michael Rohleder; +Cc: guix-devel Hi Zelphir, Am Dienstag, dem 15.02.2022 um 09:45 +0000 schrieb Zelphir Kaltstahl: > 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" > ~~~~ Okay, this means that subdirs.el is correctly expanded. The next question regards autoloads. Is (featurep 'magit-autoloads) t or nil? > Seems to be the same as without running the `init.el` file regarding > magit at least. This makes sense, as I don't add things to the load- > path in the whole `init.el` file, except for: > > ~~~~ > (defconst xl-home "~") > (defconst xl-guix-profiles (concat xl-home "/" ".guix-extra- > profiles")) > (defconst xl-emacs-profile (concat xl-guix-profiles "/" "emacs-test- > profile")) > (defconst xl-site-lisp-dir (concat xl-emacs-profile "/" > "share/emacs/site-lisp/")) > (add-to-list 'load-path > xl-site-lisp-dir) > ~~~~ That snippet should not be needed. As can be seen from EMACSLOADPATH, xl-site-lisp-dir should already be in load-path. > (Not sure if defconst is the best thing to use, but emacs was > complaining when using setq, that I was assigning to variables, which > are free, and those strings are actually constant, so I figured that > would be appropriate to do and emacs does not complain about it any > longer.) Let-binding would be nicer, but this is not the coding academy awards, so anything goes. Cheers ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-15 19:54 ` Liliana Marie Prikler @ 2022-02-16 22:23 ` Zelphir Kaltstahl 2022-02-17 17:49 ` Liliana Marie Prikler 0 siblings, 1 reply; 17+ messages in thread From: Zelphir Kaltstahl @ 2022-02-16 22:23 UTC (permalink / raw) To: Liliana Marie Prikler; +Cc: guix-devel [-- Attachment #1: Type: text/plain, Size: 1686 bytes --] Hello, On 2/15/22 20:54, Liliana Marie Prikler wrote: > Hi Zelphir, > > Am Dienstag, dem 15.02.2022 um 09:45 +0000 schrieb Zelphir Kaltstahl: >> 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" >> ~~~~ > Okay, this means that subdirs.el is correctly expanded. The next > question regards autoloads. Is (featurep 'magit-autoloads) t or nil? It is t. That is after loading `init.el` and all it contains, but there is no magit configuration happening inside this `init.el` yet. > [...] Best regards, Zelphir -- repositories:https://notabug.org/ZelphirKaltstahl [-- Attachment #2: Type: text/html, Size: 2685 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-16 22:23 ` Zelphir Kaltstahl @ 2022-02-17 17:49 ` Liliana Marie Prikler 2022-02-17 19:26 ` Ricardo Wurmus 2022-02-18 1:10 ` Zelphir Kaltstahl 0 siblings, 2 replies; 17+ messages in thread From: Liliana Marie Prikler @ 2022-02-17 17:49 UTC (permalink / raw) To: Zelphir Kaltstahl; +Cc: guix-devel Hi, Am Mittwoch, dem 16.02.2022 um 22:23 +0000 schrieb Zelphir Kaltstahl: > [...] > It is t. That is after loading `init.el` and all it contains, but > there is no magit configuration happening inside this `init.el` yet. Now I'm at the end of words. Using my own machine as source of truth, git-commit is a part of magit, so if it exists in EMACSLOADPATH and is autoloaded, then it should be available. You might want to check your store using `guix gc --verify=contents`. Cheers ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-17 17:49 ` Liliana Marie Prikler @ 2022-02-17 19:26 ` Ricardo Wurmus 2022-02-18 1:10 ` Zelphir Kaltstahl 1 sibling, 0 replies; 17+ messages in thread From: Ricardo Wurmus @ 2022-02-17 19:26 UTC (permalink / raw) To: Liliana Marie Prikler; +Cc: guix-devel, Zelphir Kaltstahl Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > Hi, > > Am Mittwoch, dem 16.02.2022 um 22:23 +0000 schrieb Zelphir Kaltstahl: >> [...] >> It is t. That is after loading `init.el` and all it contains, but >> there is no magit configuration happening inside this `init.el` yet. > Now I'm at the end of words. Using my own machine as source of truth, > git-commit is a part of magit, so if it exists in EMACSLOADPATH and is > autoloaded, then it should be available. You might want to check your > store using `guix gc --verify=contents`. This is a mixed environment, isn’t it? Where some parts are loaded from Emacs-managed stuff in .emacs.d/ and others from Guix? Could you try again without the Emacs-managed packages? -- Ricardo ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-17 17:49 ` Liliana Marie Prikler 2022-02-17 19:26 ` Ricardo Wurmus @ 2022-02-18 1:10 ` Zelphir Kaltstahl 2022-02-18 4:51 ` Liliana Marie Prikler 1 sibling, 1 reply; 17+ messages in thread From: Zelphir Kaltstahl @ 2022-02-18 1:10 UTC (permalink / raw) To: Liliana Marie Prikler, Ricardo Wurmus; +Cc: guix-devel Hello, On 2/17/22 18:49, Liliana Marie Prikler wrote: > Hi, > > Am Mittwoch, dem 16.02.2022 um 22:23 +0000 schrieb Zelphir Kaltstahl: >> [...] >> It is t. That is after loading `init.el` and all it contains, but >> there is no magit configuration happening inside this `init.el` yet. > Now I'm at the end of words. Using my own machine as source of truth, > git-commit is a part of magit, so if it exists in EMACSLOADPATH and is > autoloaded, then it should be available. You might want to check your > store using `guix gc --verify=contents`. > > Cheers Thanks for all the debugging help so far! And indeed, something shows up: ~~~~ $ guix gc --verify=contents reading the store... checking path existence... checking hashes... path `/gnu/store/5fw9ybi8q78ksx2ijwg79n6rkx3ymhd8-profile' was modified! expected hash `5249ff7ea12810840ad49897f18fa958e577422a90539b61a852c5c9368f037c', got `7ca9ebfa4be2f3ba8d59d37b03bc92e32993c68292b9b311a1857fe73db7855b' path `/gnu/store/d1zmwz8i4ag1zk4vh6sqrzx5dbnvl8qs-profile' was modified! expected hash `d59df8f6ae2e21927425584d8ef1b2078ef069d284fa17c73440692ac79d5fda', got `140b53e4528182752bb78d5fe1b198c3359f1e3654fcebe0d89e932ff0ea19fb' path `/gnu/store/nd1wsdjwd4cqyv0h71qzbzvizls250p7-profile' was modified! expected hash `b66e359b294f7c6cbe30253562a07622deb52679679378ec98ae19b94c55dd8a', got `7b7fe5620e64fe597f94c389dc3ac6102b6c20264616af877deb5ff904e22f08' path `/gnu/store/skhc9chfprl7iv18cfx8r14vdqgps0gy-profile' was modified! expected hash `16db13be1e30caf087f1ee3a9c99a3d01b58b0ec71691ee65c6e66a1f569c855', got `34564b95358477396c47f95471c092d4f88f0b14292343ae8c31a4901b04f75b' path `/gnu/store/ywcpag06kgk3bg8nh8i47qwcskk7jl8f-profile' was modified! expected hash `2fa0f22a66e24df2d989df97ae665e64628641f7407a90321561ca6026e1e96f', got `9aceefc556ac8211c17e810ba680f92ee876b5d96b5be9b962323811facc5bc9' ~~~~ Not sure what to make of it though. > This is a mixed environment, isn’t it? Where some parts are loaded from Emacs-managed stuff in .emacs.d/ and others from Guix? > Could you try again without the Emacs-managed packages? Actually this is my attempt of not installing anything through `list-pack` and so on and only installing packages through guix, so I am not aware of any packages installed via Emacs. Here is my ~/.emacs.d/ directory: ~~~~ $ tree . ├── auto-save-list ├── desktop │ └── emacs.desktop ├── elpa │ ├── archives │ │ ├── gnu │ │ │ ├── archive-contents │ │ │ └── archive-contents.signed │ │ └── melpa-stable │ │ └── archive-contents │ ├── gnupg │ │ ├── private-keys-v1.d │ │ ├── pubring.kbx │ │ ├── pubring.kbx~ │ │ └── trustdb.gpg │ └── transient-0.3.7 │ ├── dir │ ├── transient-autoloads.el │ ├── transient.el │ ├── transient.elc │ ├── transient.info │ └── transient-pkg.el ├── eshell │ ├── history │ └── lastdir ├── init-backup ├── init.el ├── init.el~ ├── snippets └── transient └── history.el 12 directories, 19 files ~~~~ And I am not even sure why transient and gnupg are there. But I will try to remove the whole directory, insert only the init.el file and run Emacs again and see whether the error comes up: ~~~~ $ tree . └── init.el 0 directories, 1 file ~~~~ ~~~~ Loading /gnu/store/7nd7zr9f3wzkvkcgvc821j7jmnd3x67l-emacs-auto-complete-1.5.1/share/emacs/site-lisp/auto-complete-1.5.1/auto-complete-autoloads...done Loading /gnu/store/8998whgnidk2qaz8543g134w13bk3rxh-emacs-popup-0.5.8/share/emacs/site-lisp/popup-0.5.8/popup-autoloads...done Loading /gnu/store/7ljkbrdm5684gdparxrlzfqw063vzgfz-emacs-company-0.9.13/share/emacs/site-lisp/company-0.9.13/company-autoloads...done Loading /gnu/store/yp7x9gxskxqqchp9s18mramz0zj4wdj5-emacs-dockerfile-mode-1.5/share/emacs/site-lisp/dockerfile-mode-1.5/dockerfile-mode-autoloads...done Loading /gnu/store/b5gbdk74m8nvich1bsrhndgywghzjrr8-emacs-s-1.12.0/share/emacs/site-lisp/s-1.12.0/s-autoloads...done Loading /gnu/store/53kkw0k17akjnv87ayil00ckfd811lin-emacs-editorconfig-0.8.2/share/emacs/site-lisp/editorconfig-0.8.2/editorconfig-autoloads...done Loading /gnu/store/hj21pvi9b0d5b8prjiknkh42x9dxlcpw-emacs-erlang-24.2.1/share/emacs/site-lisp/erlang-24.2.1/erlang-autoloads...done Loading /gnu/store/i3q4d34w5bfd8axkr2aghw3m6zb99mxx-emacs-exec-path-from-shell-1.12/share/emacs/site-lisp/exec-path-from-shell-1.12/exec-path-from-shell-autoloads...done Loading /gnu/store/s59gcr327a4zb7rfg4bcvfbh9bym5dmg-emacs-flycheck-31-2.9bcf6b6/share/emacs/site-lisp/flycheck-31-2.9bcf6b6/flycheck-autoloads...done Loading /gnu/store/fvzak5a6q34k11mqvlavq4n3xl1ra3bq-emacs-dash-2.19.1/share/emacs/site-lisp/dash-2.19.1/dash-autoloads...done Loading /gnu/store/hg9m6iy95i62nzw208zqwxw9aq776lbm-emacs-geiser-0.22.2/share/emacs/site-lisp/geiser-0.22.2/geiser-autoloads...done Loading /gnu/store/2qyyq1sqkk2aa6s32n0s54qx5xnfa3l8-emacs-transient-0.3.7/share/emacs/site-lisp/transient-0.3.7/transient-autoloads...done Loading /gnu/store/pdmawz46873xcqh8xbdk0s567f669vlm-emacs-geiser-guile-0.21.2/share/emacs/site-lisp/geiser-guile-0.21.2/geiser-guile-autoloads...done Loading /gnu/store/86bxc9g1k4gpqd7669krjms0z1vsa38x-emacs-geiser-racket-0.16/share/emacs/site-lisp/geiser-racket-0.16/geiser-racket-autoloads...done Loading /gnu/store/3abqz7zzbm97mb84c747kwcgwfhanxsk-emacs-goto-chg-1.7.5/share/emacs/site-lisp/goto-chg-1.7.5/goto-chg-autoloads...done Loading /gnu/store/6lgbq6854yfjc3hjz61s38s1mha7cvqv-emacs-jinja2-mode-0.2/share/emacs/site-lisp/jinja2-mode-0.2/jinja2-mode-autoloads...done Loading /gnu/store/i4x8j4hpp69mh3d7wbcasfldgxc71i8x-emacs-json-mode-1.8.0/share/emacs/site-lisp/json-mode-1.8.0/json-mode-autoloads...done Loading /gnu/store/j4xwxd8472fqcxn75zd0accdbl8wx90l-emacs-json-reformat-0.0.6/share/emacs/site-lisp/json-reformat-0.0.6/json-reformat-autoloads...done Loading /gnu/store/mdirnb4lrywcwzsp5da92k0j3yyxvc61-emacs-undercover-0.8.1/share/emacs/site-lisp/undercover-0.8.1/undercover-autoloads...done Loading /gnu/store/gmir32d1y1igxv4l5f1200djrk36v4w1-emacs-shut-up-0.3.3/share/emacs/site-lisp/shut-up-0.3.3/shut-up-autoloads...done Loading /gnu/store/xh4vgxc6cm468m8pd9yv83lzwl6z504f-emacs-json-snatcher-1.0.0/share/emacs/site-lisp/json-snatcher-1.0.0/json-snatcher-autoloads...done Loading /gnu/store/f0461m96rhnpkmhjlj06yz058pqyj02d-emacs-magit-3.3.0/share/emacs/site-lisp/magit-3.3.0/magit-autoloads...done Loading /gnu/store/w6abqmr8nscb2wjcy7p5542npbi6bdqx-emacs-libgit-20200515-1.0ef8b13/share/emacs/site-lisp/libgit-20200515-1.0ef8b13/libgit-autoloads...done Loading /gnu/store/d7rrmsc4g2crmvq4316vgiy9cbmj0hh1-emacs-with-editor-3.2.0/share/emacs/site-lisp/with-editor-3.2.0/with-editor-autoloads...done Loading /gnu/store/fja2phl12v442fxwss009p4d0dkb2jxi-emacs-async-1.9.4/share/emacs/site-lisp/async-1.9.4/async-autoloads...done Loading /gnu/store/8332kj63vk686jxk8y6j4pg58phy3136-emacs-markdown-mode-2.5/share/emacs/site-lisp/markdown-mode-2.5/markdown-mode-autoloads...done Loading /gnu/store/b7dhxpp3idl018mb6m5qdlm5959zfsci-emacs-moe-theme-el-1.0.1/share/emacs/site-lisp/moe-theme-el-1.0.1/moe-theme-el-autoloads...done Loading /gnu/store/9wyk1rjsndk6xdq3zz1xbx81jdncpy55-emacs-monokai-theme-3.5.3/share/emacs/site-lisp/monokai-theme-3.5.3/monokai-theme-autoloads...done Loading /gnu/store/mpksl4lcd68grajgafp49g16b1myahmh-emacs-multiple-cursors-1.4.0/share/emacs/site-lisp/multiple-cursors-1.4.0/multiple-cursors-autoloads...done Loading /gnu/store/8hknfa6c8znpw9j1h20xdrvlbgsb38h9-emacs-neotree-0.5.2/share/emacs/site-lisp/neotree-0.5.2/neotree-autoloads...done Loading /gnu/store/iiz1li7ya3815ni46b38nfdqj2kwr60k-emacs-ob-async-1.0.0/share/emacs/site-lisp/ob-async-1.0.0/ob-async-autoloads...done Loading /gnu/store/89yvbijwnvsbpa5h33mvbgh1gy9w30n2-emacs-org-9.5.2/share/emacs/site-lisp/org-9.5.2/org-autoloads.el (source)...done Loading /gnu/store/ym8hv4wq02crkak4khmx60p47sml8c29-emacs-ox-gfm-1.0/share/emacs/site-lisp/ox-gfm-1.0/ox-gfm-autoloads...done Loading /gnu/store/isw5xf10kmagsdvdr85sp4fb35hfdg24-emacs-pkg-info-0.6/share/emacs/site-lisp/pkg-info-0.6/pkg-info-autoloads...done Loading /gnu/store/idd66ahndjk3iz5s74djxn48nbglvzcp-emacs-epl-0.9/share/emacs/site-lisp/epl-0.9/epl-autoloads...done Loading /gnu/store/z70s60p1cch9ipxn4cg0cpx4wl4l8jrg-emacs-python-environment-0.0.2/share/emacs/site-lisp/python-environment-0.0.2/python-environment-autoloads...done Loading /gnu/store/m18sp4h5kqjs3c0xl9svk4ja6gc6z3x0-emacs-deferred-0.5.1/share/emacs/site-lisp/deferred-0.5.1/deferred-autoloads...done Loading /gnu/store/3kgx4bkr4996gbp0kpv0gpy4xbi5m5gn-emacs-racket-mode-0.0.2-7.cef5a55/share/emacs/site-lisp/racket-mode-0.0.2-7.cef5a55/racket-mode-autoloads...done Loading /gnu/store/5qwgv8av8clidf8s4l4fvhhxhzsck8ac-emacs-faceup-0.0.1-1.6c92dad/share/emacs/site-lisp/faceup-0.0.1-1.6c92dad/faceup-autoloads...done Loading /gnu/store/wglz1qxv61wfyc01qvkjf31iwg67f91s-emacs-paredit-24/share/emacs/site-lisp/paredit-24/paredit-autoloads...done Loading /gnu/store/wcc0sx20ic1krsvh16vsxz0vnf1z1bpa-emacs-pos-tip-0.4.6/share/emacs/site-lisp/pos-tip-0.4.6/pos-tip-autoloads...done Loading /gnu/store/mb4ssbch8fxw7xwf7ayrzfcdha388xcb-emacs-sml-mode-6.10/share/emacs/site-lisp/sml-mode-6.10/sml-mode-autoloads...done Loading /gnu/store/f2rnvfhgqb4gz2w6ha1kbqlrrlgkvxky-emacs-toml-mode-0.1.3-0.f6c6181/share/emacs/site-lisp/toml-mode-0.1.3-0.f6c6181/toml-mode-autoloads...done Loading /gnu/store/9hmijb2njbsfq6zjp56s4fvaric561q8-emacs-typescript-mode-0.4/share/emacs/site-lisp/typescript-mode-0.4/typescript-mode-autoloads...done Loading /gnu/store/r23l9djrvy7881nq0fi9d9kl8xs0nbrz-emacs-undo-tree-0.8.1/share/emacs/site-lisp/undo-tree-0.8.1/undo-tree-autoloads...done Loading /gnu/store/p0mzmylc5c5sz923rzp1i4bp0zqr51fv-emacs-queue-0.2/share/emacs/site-lisp/queue-0.2/queue-autoloads...done Loading /gnu/store/gi85l4ij08p3xk6wxf07cc8di0626cfy-emacs-web-mode-17/share/emacs/site-lisp/web-mode-17/web-mode-autoloads...done Loading /gnu/store/505akpilx9x5rxi76adb70b1fbh4rf2w-emacs-yaml-mode-0.0.15/share/emacs/site-lisp/yaml-mode-0.0.15/yaml-mode-autoloads...done Loading /gnu/store/2v996xn5x5wyffbk5sxq93rh0sys2qac-emacs-yasnippet-0.14.0/share/emacs/site-lisp/yasnippet-0.14.0/yasnippet-autoloads...done Loading /gnu/store/3kgx4bkr4996gbp0kpv0gpy4xbi5m5gn-emacs-racket-mode-0.0.2-7.cef5a55/share/emacs/site-lisp/racket-mode-0.0.2-7.cef5a55/racket-mode-autoloads...done Loading /gnu/store/5qwgv8av8clidf8s4l4fvhhxhzsck8ac-emacs-faceup-0.0.1-1.6c92dad/share/emacs/site-lisp/faceup-0.0.1-1.6c92dad/faceup-autoloads...done Loading /gnu/store/wglz1qxv61wfyc01qvkjf31iwg67f91s-emacs-paredit-24/share/emacs/site-lisp/paredit-24/paredit-autoloads...done Loading /gnu/store/wcc0sx20ic1krsvh16vsxz0vnf1z1bpa-emacs-pos-tip-0.4.6/share/emacs/site-lisp/pos-tip-0.4.6/pos-tip-autoloads...done Loading /gnu/store/b5gbdk74m8nvich1bsrhndgywghzjrr8-emacs-s-1.12.0/share/emacs/site-lisp/s-1.12.0/s-autoloads...done Loading /gnu/store/8332kj63vk686jxk8y6j4pg58phy3136-emacs-markdown-mode-2.5/share/emacs/site-lisp/markdown-mode-2.5/markdown-mode-autoloads...done Loading /gnu/store/f0461m96rhnpkmhjlj06yz058pqyj02d-emacs-magit-3.3.0/share/emacs/site-lisp/magit-3.3.0/magit-autoloads...done Loading /gnu/store/fvzak5a6q34k11mqvlavq4n3xl1ra3bq-emacs-dash-2.19.1/share/emacs/site-lisp/dash-2.19.1/dash-autoloads...done Loading /gnu/store/w6abqmr8nscb2wjcy7p5542npbi6bdqx-emacs-libgit-20200515-1.0ef8b13/share/emacs/site-lisp/libgit-20200515-1.0ef8b13/libgit-autoloads...done Loading /gnu/store/2qyyq1sqkk2aa6s32n0s54qx5xnfa3l8-emacs-transient-0.3.7/share/emacs/site-lisp/transient-0.3.7/transient-autoloads...done Loading /gnu/store/d7rrmsc4g2crmvq4316vgiy9cbmj0hh1-emacs-with-editor-3.2.0/share/emacs/site-lisp/with-editor-3.2.0/with-editor-autoloads...done Loading /gnu/store/fja2phl12v442fxwss009p4d0dkb2jxi-emacs-async-1.9.4/share/emacs/site-lisp/async-1.9.4/async-autoloads...done Loading /gnu/store/2v996xn5x5wyffbk5sxq93rh0sys2qac-emacs-yasnippet-0.14.0/share/emacs/site-lisp/yasnippet-0.14.0/yasnippet-autoloads...done Loading /gnu/store/505akpilx9x5rxi76adb70b1fbh4rf2w-emacs-yaml-mode-0.0.15/share/emacs/site-lisp/yaml-mode-0.0.15/yaml-mode-autoloads...done Loading /gnu/store/gi85l4ij08p3xk6wxf07cc8di0626cfy-emacs-web-mode-17/share/emacs/site-lisp/web-mode-17/web-mode-autoloads...done Loading /gnu/store/f2rnvfhgqb4gz2w6ha1kbqlrrlgkvxky-emacs-toml-mode-0.1.3-0.f6c6181/share/emacs/site-lisp/toml-mode-0.1.3-0.f6c6181/toml-mode-autoloads...done Loading /gnu/store/mb4ssbch8fxw7xwf7ayrzfcdha388xcb-emacs-sml-mode-6.10/share/emacs/site-lisp/sml-mode-6.10/sml-mode-autoloads...done Loading /gnu/store/mpksl4lcd68grajgafp49g16b1myahmh-emacs-multiple-cursors-1.4.0/share/emacs/site-lisp/multiple-cursors-1.4.0/multiple-cursors-autoloads...done Loading /gnu/store/3abqz7zzbm97mb84c747kwcgwfhanxsk-emacs-goto-chg-1.7.5/share/emacs/site-lisp/goto-chg-1.7.5/goto-chg-autoloads...done Loading /gnu/store/9hmijb2njbsfq6zjp56s4fvaric561q8-emacs-typescript-mode-0.4/share/emacs/site-lisp/typescript-mode-0.4/typescript-mode-autoloads...done Loading /gnu/store/ym8hv4wq02crkak4khmx60p47sml8c29-emacs-ox-gfm-1.0/share/emacs/site-lisp/ox-gfm-1.0/ox-gfm-autoloads...done Loading /gnu/store/hj21pvi9b0d5b8prjiknkh42x9dxlcpw-emacs-erlang-24.2.1/share/emacs/site-lisp/erlang-24.2.1/erlang-autoloads...done Loading /gnu/store/i3q4d34w5bfd8axkr2aghw3m6zb99mxx-emacs-exec-path-from-shell-1.12/share/emacs/site-lisp/exec-path-from-shell-1.12/exec-path-from-shell-autoloads...done Loading /gnu/store/9wyk1rjsndk6xdq3zz1xbx81jdncpy55-emacs-monokai-theme-3.5.3/share/emacs/site-lisp/monokai-theme-3.5.3/monokai-theme-autoloads...done Loading /gnu/store/b7dhxpp3idl018mb6m5qdlm5959zfsci-emacs-moe-theme-el-1.0.1/share/emacs/site-lisp/moe-theme-el-1.0.1/moe-theme-el-autoloads...done Loading /gnu/store/r23l9djrvy7881nq0fi9d9kl8xs0nbrz-emacs-undo-tree-0.8.1/share/emacs/site-lisp/undo-tree-0.8.1/undo-tree-autoloads...done Loading /gnu/store/p0mzmylc5c5sz923rzp1i4bp0zqr51fv-emacs-queue-0.2/share/emacs/site-lisp/queue-0.2/queue-autoloads...done Loading /gnu/store/z70s60p1cch9ipxn4cg0cpx4wl4l8jrg-emacs-python-environment-0.0.2/share/emacs/site-lisp/python-environment-0.0.2/python-environment-autoloads...done Loading /gnu/store/m18sp4h5kqjs3c0xl9svk4ja6gc6z3x0-emacs-deferred-0.5.1/share/emacs/site-lisp/deferred-0.5.1/deferred-autoloads...done Loading /gnu/store/isw5xf10kmagsdvdr85sp4fb35hfdg24-emacs-pkg-info-0.6/share/emacs/site-lisp/pkg-info-0.6/pkg-info-autoloads...done Loading /gnu/store/idd66ahndjk3iz5s74djxn48nbglvzcp-emacs-epl-0.9/share/emacs/site-lisp/epl-0.9/epl-autoloads...done Loading /gnu/store/8hknfa6c8znpw9j1h20xdrvlbgsb38h9-emacs-neotree-0.5.2/share/emacs/site-lisp/neotree-0.5.2/neotree-autoloads...done Loading /gnu/store/i4x8j4hpp69mh3d7wbcasfldgxc71i8x-emacs-json-mode-1.8.0/share/emacs/site-lisp/json-mode-1.8.0/json-mode-autoloads...done Loading /gnu/store/j4xwxd8472fqcxn75zd0accdbl8wx90l-emacs-json-reformat-0.0.6/share/emacs/site-lisp/json-reformat-0.0.6/json-reformat-autoloads...done Loading /gnu/store/mdirnb4lrywcwzsp5da92k0j3yyxvc61-emacs-undercover-0.8.1/share/emacs/site-lisp/undercover-0.8.1/undercover-autoloads...done Loading /gnu/store/gmir32d1y1igxv4l5f1200djrk36v4w1-emacs-shut-up-0.3.3/share/emacs/site-lisp/shut-up-0.3.3/shut-up-autoloads...done Loading /gnu/store/xh4vgxc6cm468m8pd9yv83lzwl6z504f-emacs-json-snatcher-1.0.0/share/emacs/site-lisp/json-snatcher-1.0.0/json-snatcher-autoloads...done Loading /gnu/store/6lgbq6854yfjc3hjz61s38s1mha7cvqv-emacs-jinja2-mode-0.2/share/emacs/site-lisp/jinja2-mode-0.2/jinja2-mode-autoloads...done Loading /gnu/store/s59gcr327a4zb7rfg4bcvfbh9bym5dmg-emacs-flycheck-31-2.9bcf6b6/share/emacs/site-lisp/flycheck-31-2.9bcf6b6/flycheck-autoloads...done Loading /gnu/store/53kkw0k17akjnv87ayil00ckfd811lin-emacs-editorconfig-0.8.2/share/emacs/site-lisp/editorconfig-0.8.2/editorconfig-autoloads...done Loading /gnu/store/yp7x9gxskxqqchp9s18mramz0zj4wdj5-emacs-dockerfile-mode-1.5/share/emacs/site-lisp/dockerfile-mode-1.5/dockerfile-mode-autoloads...done Loading /gnu/store/7ljkbrdm5684gdparxrlzfqw063vzgfz-emacs-company-0.9.13/share/emacs/site-lisp/company-0.9.13/company-autoloads...done Loading /gnu/store/7nd7zr9f3wzkvkcgvc821j7jmnd3x67l-emacs-auto-complete-1.5.1/share/emacs/site-lisp/auto-complete-1.5.1/auto-complete-autoloads...done Loading /gnu/store/8998whgnidk2qaz8543g134w13bk3rxh-emacs-popup-0.5.8/share/emacs/site-lisp/popup-0.5.8/popup-autoloads...done Loading /gnu/store/iiz1li7ya3815ni46b38nfdqj2kwr60k-emacs-ob-async-1.0.0/share/emacs/site-lisp/ob-async-1.0.0/ob-async-autoloads...done Loading /gnu/store/89yvbijwnvsbpa5h33mvbgh1gy9w30n2-emacs-org-9.5.2/share/emacs/site-lisp/org-9.5.2/org-autoloads.el (source)...done Unable to activate package ‘magit’. Required package ‘git-commit-3.3.0’ is unavailable [yas] Prepared just-in-time loading of snippets (but no snippets found). No desktop file. For information about GNU Emacs and the GNU system, type C-h C-a. ~~~~ Still comes up. Since there was some verification thing with the `guix gc --verify=contents` command, I will run `guix gc`, delete the whole guix profile, recreate the profile, and then check again. ~~~~ $ guix gc ... $ rm -rf ~/.guix-extra-profiles/emacs-test-profile ... $ guix package --manifest="${GUIX_EXTRA_PROFILES}"/emacs-profile-manifest.scm --profile="${GUIX_EXTRA_PROFILES}"/emacs-profile ... $ /bin/bash /home/user/emacs.sh ... $ guix package --list-profiles /home/user/.guix-extra-profiles/emacs-profile /home/user/.config/guix/current /home/user/.guix-profile ~~~~ (Note, that I have removed the "-test" part of the name. At some point I hope for this all to work and then I don't want the "-test" thing to still remain.) The script contains: ~~~~ #!/usr/bin/env bash set -Eeuxo pipefail # source the environment GUIX_PROFILE="${GUIX_EXTRA_PROFILES}/emacs-profile" . "${GUIX_PROFILE}/etc/profile" # run emacs env XMODIFIERS='' emacs ~~~~ Anything else I can try? Best regards, Zelphir -- repositories: https://notabug.org/ZelphirKaltstahl ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-18 1:10 ` Zelphir Kaltstahl @ 2022-02-18 4:51 ` Liliana Marie Prikler 2022-02-19 2:34 ` Zelphir Kaltstahl 0 siblings, 1 reply; 17+ messages in thread From: Liliana Marie Prikler @ 2022-02-18 4:51 UTC (permalink / raw) To: Zelphir Kaltstahl, Ricardo Wurmus; +Cc: guix-devel Am Freitag, dem 18.02.2022 um 01:10 +0000 schrieb Zelphir Kaltstahl: > [...] > > Since there was some verification thing with the `guix gc -- > verify=contents` command, I will run `guix gc`, delete the whole guix > profile, recreate the profile, and then check again. > > ~~~~ > $ guix gc > ... > $ rm -rf ~/.guix-extra-profiles/emacs-test-profile > ... > $ guix package --manifest="${GUIX_EXTRA_PROFILES}"/emacs-profile- > manifest.scm --profile="${GUIX_EXTRA_PROFILES}"/emacs-profile > ... > $ /bin/bash /home/user/emacs.sh > ... > $ guix package --list-profiles > /home/user/.guix-extra-profiles/emacs-profile > /home/user/.config/guix/current > /home/user/.guix-profile > ~~~~ > > (Note, that I have removed the "-test" part of the name. At some > point I hope for this all to work and then I don't want the "-test" > thing to still remain.) > The script contains: > > ~~~~ > #!/usr/bin/env bash > > set -Eeuxo pipefail > > # source the environment > GUIX_PROFILE="${GUIX_EXTRA_PROFILES}/emacs-profile" > . "${GUIX_PROFILE}/etc/profile" > > # run emacs > env XMODIFIERS='' emacs > ~~~~ > > Anything else I can try? Note that --verify=contents only prints out the warnings that something is wrong, but does not fix them. Since repairing the store is potentially dangerous, you need to --verify=contents,repair as superuser. I'm not sure if your sequence of commands actually led to garbage-collection of the damaged magit. Cheers ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-18 4:51 ` Liliana Marie Prikler @ 2022-02-19 2:34 ` Zelphir Kaltstahl 2022-02-19 7:30 ` Liliana Marie Prikler 0 siblings, 1 reply; 17+ messages in thread From: Zelphir Kaltstahl @ 2022-02-19 2:34 UTC (permalink / raw) To: Liliana Marie Prikler, Ricardo Wurmus; +Cc: guix-devel Hello! On 2/18/22 05:51, Liliana Marie Prikler wrote: > Am Freitag, dem 18.02.2022 um 01:10 +0000 schrieb Zelphir Kaltstahl: >> [...] >> >> Since there was some verification thing with the `guix gc -- >> verify=contents` command, I will run `guix gc`, delete the whole guix >> profile, recreate the profile, and then check again. >> >> ~~~~ >> $ guix gc >> ... >> $ rm -rf ~/.guix-extra-profiles/emacs-test-profile >> ... >> $ guix package --manifest="${GUIX_EXTRA_PROFILES}"/emacs-profile- >> manifest.scm --profile="${GUIX_EXTRA_PROFILES}"/emacs-profile >> ... >> $ /bin/bash /home/user/emacs.sh >> ... >> $ guix package --list-profiles >> /home/user/.guix-extra-profiles/emacs-profile >> /home/user/.config/guix/current >> /home/user/.guix-profile >> ~~~~ >> >> (Note, that I have removed the "-test" part of the name. At some >> point I hope for this all to work and then I don't want the "-test" >> thing to still remain.) >> The script contains: >> >> ~~~~ >> #!/usr/bin/env bash >> >> set -Eeuxo pipefail >> >> # source the environment >> GUIX_PROFILE="${GUIX_EXTRA_PROFILES}/emacs-profile" >> . "${GUIX_PROFILE}/etc/profile" >> >> # run emacs >> env XMODIFIERS='' emacs >> ~~~~ >> >> Anything else I can try? > Note that --verify=contents only prints out the warnings that something > is wrong, but does not fix them. Since repairing the store is > potentially dangerous, you need to --verify=contents,repair as > superuser. I'm not sure if your sequence of commands actually led to > garbage-collection of the damaged magit. > > Cheers I have tried a mix of `guix gc --verify=contents,repair`, `guix gc`, `guix pull && guix package -u`, but I would always still have those finds of inconsistent hashsums with `guix gc --verify=contents` until I did: ~~~~ $ sudo -i $ guix gc $ guix pull && guix package -u ~~~~ Which I think means, that now I am on a different version of guix itself. Now it does not find any inconsistent hashes with `guix gc --verify=contents`: ~~~~ $ guix gc --verify=contents reading the store... checking path existence... checking hashes... ~~~~ So I deleted and built the emacs profile again using `guix package --manifest="${GUIX_EXTRA_PROFILES}"/emacs-profile-manifest.scm --profile="${GUIX_EXTRA_PROFILES}"/emacs-profile`. However, no luck. Still magit cannot be loaded. Still saying that: ~~~~ Unable to activate package ‘magit’. Required package ‘git-commit-3.3.0’ is unavailable ~~~~ Not sure what else I can try. Best regards, Zelphir -- repositories: https://notabug.org/ZelphirKaltstahl ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-19 2:34 ` Zelphir Kaltstahl @ 2022-02-19 7:30 ` Liliana Marie Prikler 2022-02-19 15:43 ` Zelphir Kaltstahl 2022-02-22 9:34 ` Zelphir Kaltstahl 0 siblings, 2 replies; 17+ messages in thread From: Liliana Marie Prikler @ 2022-02-19 7:30 UTC (permalink / raw) To: Zelphir Kaltstahl, Ricardo Wurmus; +Cc: guix-devel Hi, Am Samstag, dem 19.02.2022 um 02:34 +0000 schrieb Zelphir Kaltstahl: > So I deleted and built the emacs profile again using `guix package -- > manifest="${GUIX_EXTRA_PROFILES}"/emacs-profile-manifest.scm -- > profile="${GUIX_EXTRA_PROFILES}"/emacs-profile`. > > However, no luck. Still magit cannot be loaded. Still saying that: > > ~~~~ > Unable to activate package ‘magit’. > Required package ‘git-commit-3.3.0’ is unavailable > ~~~~ > > Not sure what else I can try. > Best regards, > Zelphir I think there might be something fundamentally wrong here. On a pretty recent git checkout (using pre-inst-env) I can `guix shell -C emacs emacs-magit -E TERM -- emacs' and inside the spawned emacs (require 'magit) works without any issues. Cheers ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-19 7:30 ` Liliana Marie Prikler @ 2022-02-19 15:43 ` Zelphir Kaltstahl 2022-02-19 16:04 ` Liliana Marie Prikler 2022-02-22 9:34 ` Zelphir Kaltstahl 1 sibling, 1 reply; 17+ messages in thread From: Zelphir Kaltstahl @ 2022-02-19 15:43 UTC (permalink / raw) To: Liliana Marie Prikler, Ricardo Wurmus; +Cc: guix-devel Hi! On 2/19/22 08:30, Liliana Marie Prikler wrote: > Hi, > > Am Samstag, dem 19.02.2022 um 02:34 +0000 schrieb Zelphir Kaltstahl: >> So I deleted and built the emacs profile again using `guix package -- >> manifest="${GUIX_EXTRA_PROFILES}"/emacs-profile-manifest.scm -- >> profile="${GUIX_EXTRA_PROFILES}"/emacs-profile`. >> >> However, no luck. Still magit cannot be loaded. Still saying that: >> >> ~~~~ >> Unable to activate package ‘magit’. >> Required package ‘git-commit-3.3.0’ is unavailable >> ~~~~ >> >> Not sure what else I can try. >> Best regards, >> Zelphir > I think there might be something fundamentally wrong here. On a pretty > recent git checkout (using pre-inst-env) I can `guix shell -C emacs > emacs-magit -E TERM -- emacs' and inside the spawned emacs (require > 'magit) works without any issues. > > Cheers Given that I did the guix pull yesterday/today and that the store inconsistencies disappeared with that, I have to assume the following: (1) Either my guix installation is broken somehow, although I never messed around in the store and only have quite basic usage using environments and profiles (actually haven't touched profiles in a while and this is the first time in a long time that I have thought I should make a profile for something, instead of merely an environment), or (2) the command `guix shell -C emacs emacs-magit -E TERM -- emacs` does something different, than the command, which I use to make a profile and that therefore the results are different. If (1) is the case, then I guess there has to be a bug somewhere in guix package manager, which messed things up, since I only use very few basic commands of guix to install packages, use environments and profiles. It's not like I go into the store and mess around in the folders ^^' If (2) is the case, then I am simply not knowledgeable about guix to say what that difference might be. I am not sure I really want to somehow remove guix and then reinstall it again, because everything else seems to work just fine. Not sure what to do now. I might have to abandon the project of getting reproducible emacs setup using guix again, or simply cannot use guix' profile functionality for that. Best regards, Zelphir -- repositories: https://notabug.org/ZelphirKaltstahl ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-19 15:43 ` Zelphir Kaltstahl @ 2022-02-19 16:04 ` Liliana Marie Prikler 0 siblings, 0 replies; 17+ messages in thread From: Liliana Marie Prikler @ 2022-02-19 16:04 UTC (permalink / raw) To: Zelphir Kaltstahl, Ricardo Wurmus; +Cc: guix-devel Hi, Am Samstag, dem 19.02.2022 um 15:43 +0000 schrieb Zelphir Kaltstahl: > [...] > Given that I did the guix pull yesterday/today and that the store > inconsistencies disappeared with that, I have to assume the > following: > > (1) Either my guix installation is broken somehow, although I never > messed around in the store and only have quite basic usage using > environments and profiles (actually haven't touched profiles in a > while and this is the first time in a long time that I have thought I > should make a profile for something, instead of merely an > environment), or (2) the command `guix shell -C emacs > emacs-magit -E TERM -- emacs` does something different, than the > command, which I use to make a profile and that therefore the results > are different. > > If (1) is the case, then I guess there has to be a bug somewhere in > guix package manager, which messed things up, since I only use very > few basic commands of guix to install packages, use environments and > profiles. It's not like I go into the store and mess around in the > folders ^^' > > If (2) is the case, then I am simply not knowledgeable about guix to > say what that difference might be. Note that your profile is a normal directory. You can ls the files and everything, so you should be able to find out whether git-commit.el is broken or any other file is broken, and you should also be able to diff one version of magit against another. > I am not sure I really want to somehow remove guix and then reinstall > it again, because everything else seems to work just fine. > > Not sure what to do now. I might have to abandon the project of > getting reproducible emacs setup using guix again, or simply cannot > use guix' profile functionality for that. I'm not sure if Emacs itself is fully reproducible (there has been a bug in its build IIRC), but I doubt that this is the change you're seeing. Note that Guix is not fully resilient against power outages (despite what John said in his presentation); I personally had empty files after power outages on two separate machines, which I do attribute to the file system/disk rather than Guix however. Cheers. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-19 7:30 ` Liliana Marie Prikler 2022-02-19 15:43 ` Zelphir Kaltstahl @ 2022-02-22 9:34 ` Zelphir Kaltstahl 2022-02-22 10:39 ` Liliana Marie Prikler 1 sibling, 1 reply; 17+ messages in thread From: Zelphir Kaltstahl @ 2022-02-22 9:34 UTC (permalink / raw) To: Liliana Marie Prikler; +Cc: guix-devel [-- Attachment #1: Type: text/plain, Size: 3874 bytes --] Hello! On 2/19/22 08:30, Liliana Marie Prikler wrote: > Hi, > > Am Samstag, dem 19.02.2022 um 02:34 +0000 schrieb Zelphir Kaltstahl: >> So I deleted and built the emacs profile again using `guix package -- >> manifest="${GUIX_EXTRA_PROFILES}"/emacs-profile-manifest.scm -- >> profile="${GUIX_EXTRA_PROFILES}"/emacs-profile`. >> >> However, no luck. Still magit cannot be loaded. Still saying that: >> >> ~~~~ >> Unable to activate package ‘magit’. >> Required package ‘git-commit-3.3.0’ is unavailable >> ~~~~ >> >> Not sure what else I can try. >> Best regards, >> Zelphir > I think there might be something fundamentally wrong here. On a pretty > recent git checkout (using pre-inst-env) I can `guix shell -C emacs > emacs-magit -E TERM -- emacs' and inside the spawned emacs (require > 'magit) works without any issues. > > Cheers I have now tried again with `guix environment` instead of using profiles. I faced the same issue as with the profile. As soon as emacs-magit is installed via guix, I get the error in the `*Messages*` buffer. Then I read about `guix shell` and learned, that it is to replace `guix environment`. Didn't know that. Guess I should change my usage. So that is what I did next. Changed the `guix environment` command in my script to `guix shell`. It should be reproducible using the following steps, unless guix itself has an issue and creates non-reproducible environments: `channels.scm` file at `~/.guix-extra-profiles/emacs-env/channels.scm`: ~~~~ (list (channel (name 'guix) (url"https://git.savannah.gnu.org/git/guix.git") (branch "master") (commit "b731d34ed796ad3ca1cfba6e08369ffd6dcb57bf") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" (openpgp-fingerprint "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))) ~~~~ `manifest.scm` file at `~/.guix-extra-profiles/emacs-env/manifest.scm`: ~~~~ (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-project" ;; "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")) ~~~~ `env.sh` script to run Emacs at `~/.guix-extra-profiles/emacs-env/env.sh`: ~~~~ #!/usr/bin/env bash set -Eeuxo pipefail DIR="~/.guix-extra-profiles/emacs-env/" guix time-machine \ --channels="${DIR}/channels.scm" -- \ shell \ --cores=4 \ --manifest="${DIR}/manifest.scm" -- \ emacs ~~~~ With those in place run: ~~~~ bash ~/.guix-extra-profiles/emacs-env/env.sh ~~~~ However, I have now found out, that the `-C` flag is `--container`, which I am not using! So I tried to use `--container` with the `guix shell` command and, what a surprise, the error in Emacs disappeared! Now of course the question is, how does `--container` affect the `emacs-magit` package? What is Emacs reading, that affects Magit and even prevents it from loading the dependency `git-commit`? If I find out more, I'll let you know. Best regards and thanks for the patience, Zelphir -- repositories:https://notabug.org/ZelphirKaltstahl [-- Attachment #2: Type: text/html, Size: 4802 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Missing dependency for emacs-magit 2022-02-22 9:34 ` Zelphir Kaltstahl @ 2022-02-22 10:39 ` Liliana Marie Prikler 0 siblings, 0 replies; 17+ messages in thread From: Liliana Marie Prikler @ 2022-02-22 10:39 UTC (permalink / raw) To: Zelphir Kaltstahl; +Cc: guix-devel Hi Zelphir, Am Dienstag, dem 22.02.2022 um 09:34 +0000 schrieb Zelphir Kaltstahl: > However, I have now found out, that the `-C` flag is `--container`, > which I am not using! So I tried to use `--container` with the `guix > shell` command and, what a surprise, the error in Emacs disappeared! > Now of course the question is, how does `--container` affect the > `emacs-magit` package? What is Emacs reading, that affects Magit and > even prevents it from loading the dependency `git-commit`? > If I find out more, I'll let you know. > Best regards and thanks for the patience, Hi Zelphir, inside --container, the shell only has access to the current working directory (as well as potentially other directories you share), and a limited set of environment variables. Your shell rc files are still sourced, but some commands they invoke may fail to have any side effects (note that shell rc files are often evil when it comes to normal invocations of `guix environment' or `guix shell', hence why we now warn about `guix shell --check'). W.r.t. Emacs in particular, any parts of EMACSLOADPATH coming from outside `guix shell' are now gone. These should not have any effect on your Emacs whatsoever given the way things are ordered, but there might be some weird fringe case that is not accounted for. I suggest trying magit with different values of EMACSLOADPATH and seeing what happens. I'll try to recreate your results using a --pure shell and sourcing a profile within that, but I'm not sure whether it'll be reproducible. Cheers ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2022-02-22 10:41 UTC | newest] Thread overview: 17+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-02-13 23:51 Missing dependency for emacs-magit Zelphir Kaltstahl 2022-02-14 2:50 ` Michael Rohleder 2022-02-14 18:41 ` Zelphir Kaltstahl 2022-02-14 19:33 ` Liliana Marie Prikler 2022-02-15 9:45 ` Zelphir Kaltstahl 2022-02-15 19:54 ` Liliana Marie Prikler 2022-02-16 22:23 ` Zelphir Kaltstahl 2022-02-17 17:49 ` Liliana Marie Prikler 2022-02-17 19:26 ` Ricardo Wurmus 2022-02-18 1:10 ` Zelphir Kaltstahl 2022-02-18 4:51 ` Liliana Marie Prikler 2022-02-19 2:34 ` Zelphir Kaltstahl 2022-02-19 7:30 ` Liliana Marie Prikler 2022-02-19 15:43 ` Zelphir Kaltstahl 2022-02-19 16:04 ` Liliana Marie Prikler 2022-02-22 9:34 ` Zelphir Kaltstahl 2022-02-22 10:39 ` Liliana Marie Prikler
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).