Pierre Neidhardt (2018-06-28 19:04 +0200) wrote: > Alex Kost <[email protected]> writes: > >> I don't know. This error looks like guile load paths are not set >> correctly. Could you switch to Guix REPL and check whether %load-path >> contains "~/.config/guix/current/share/guile/site/2.2" ? > > Indeed, I had this: > > (add-to-list 'geiser-guile-load-path "~/projects/guix") > > as per "(guix) The Perfect Setup" of the Guix manual. Removing this > fixed the transaction issues. > > Insights?
"~/.config/guix/current/…" overrides "~/projects/guix" in %load-path of Guix REPL, but the problem is that %load-compiled-path does not have the according .go files as I wrote in the previous message, so the incompatibility between .scm (from "~/.config/guix/current") and .go (from "~/projects/guix") led to errors. I have fixed it in Emacs-Guix: https://notabug.org/alezost/emacs-guix/commit/38a20cefe14969970817de97693c3f0f00b1c099 BTW if you want Emacs-Guix to use Guix modules from your checkout, you can set it like this: (setq guix-load-path "~/projects/guix") This ↑ setting overrides everything (including the profile populated by "guix pull"). > But the wrong outdated packaged remained. > >> (setq guix-load-path "~/.config/guix/current/share/guile/site/2.2" >> guix-load-compiled-path >> "~/.config/guix/current/lib/guile/2.2/site-ccache") > > This fixes the oudated package issue. Great, thank you for checking! I have made a new release (0.4.1.1), so hopefully it should be OK now :-) -- Alex
