Subject: bug#33279: guile-readline: error: no code for module

From: Marius Bakke <[email-masked]>
Date: Tue, 06 Nov 2018 21:14:47 +0100

swedebugia <[email-masked]> writes:

> Saluton :)
>
> On 2018-11-06 12:36, Ludovic Courtès wrote:
>> Hello,
>>
>> swedebugia <[email-masked]> skribis:
>>
>>> exporting these variables did not help:
>>>
>>> $ export GUILE_LOAD_PATH=~/.guix-profile/lib/guile/2.2/:$GUILE_LOAD_PATH
>>> $ export
>>> GUILE_LOAD_COMPILED_PATH=~/.guix-profile/lib/guile/2.2/:$GUILE_LOAD_COMPILED_PATH
>> Rather you need:
>>
>>    export GUILE_LOAD_PATH=~/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH
>>    export GUILE_LOAD_COMPILED_PATH=~/.guix-profile/lib/guile/2.2/site-ccache:$GUILE_LOAD_COMPILED_PATH
>>
>> Better yet, you can install both ‘guile’ and ‘guile-readline’ in the
>> same profile and you’ll get a message telling you what to do:
>
> Thanks for the tip! I only installed guile-readline and it did not emit 
> any environment variable suggestions.
>
> Could we make all guile-* packages emit this suggestion?

This limitation is the same as <https://bugs.gnu.org/22138>.

Alas, no good solution have surfaced.  Perhaps we need a
"propagated-search-paths" package record or similar?