help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting up a geiser development environment


From: Einar Largenius
Subject: Re: Setting up a geiser development environment
Date: Tue, 31 May 2022 20:26:54 +0200
User-agent: mu4e 1.6.10; emacs 28.1

Hi, thanks for the reply.

I want to have geiser accessible. It would make trailing and error and
finding symbols much easier.

>     (use-modules (gnu packages))

I forgot to include this in my example. The Geiser repl tells me there are
no code for the module. It works fine when using guix repl though.

I checked the value of %load-path when I start geiser and compare it
with the value I get with guix repl. They look very similar except the
load path provided with guix repl is provides an additional path:

    
"/gnu/store/6qfk8gs9qyk5vx79bb62gf4gz9n7wp95-guix-module-union/share/guile/site/3.0"

I don't find anything similar in my .guix-profile.

I see a few alternatives.

1. Identify which package includes this "guix-module-union" and add it
   to my profile.
2. Dynamically add the path using wildcards to my .guile startup file.
   Adding a hardcoded path will break this during every update.
3. Change so that geiser uses "guix repl" instead of "guile" when
   starting a repl.

I lack the experience with both guix and scheme so none of the above
would be easy to do for me. The last alternative would probably be the
easiest for me.

-- 
Med vänliga hälsningar Einar



reply via email to

[Prev in Thread] Current Thread [Next in Thread]