It was the good old "shit behind the levers". I had a channel.scm in a parent directory and that broke compilation. However, in my defense, the error message was quite cryptic. It looked like there was an error in the module (icm-9 boot). When I switched to guile-next, I got a much better error message with a back trace. That helped me solve the problem. (I'm a guile scheme noob).

Anyway, Thanks!

On 3/24/25 08:41, 45mg wrote:
Snikta <sni...@bahnhof.se> writes:

I'm using Emacs with Geiser Guile on Guix System, and I've tried to add
both /run/..../guile/site/3.0 and (built) ~/src/guix to the %load-path
(and they are there). Still, I never get a functional development
environment. I.e. I'm not able to load any Guix config file without an
error, not able to see any code documentation and I'm not able to follow
symbols. Emacs is able to find the files of different imported modules
(using M-.), but nothing else.
I have a related issue: Geiser dies if packages are defined in
submodules of the current project.

For example, I have package 'foo' defined in ./packages/foo.scm, and I
have `(define-module (config) #:use-module (packages foo))` in
./config.scm. When I try to start Geiser, it gives me 'error: foo:
unknown package' and the REPL exits.

Attachment: OpenPGP_0x8CF8982C455FAB05.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to