Subject: Re: [bug#68498] [PATCH] guix-install.sh: Make Guix modules available too.

From: Ludovic Courtès <[email-masked]>
Date: Wed, 24 Jan 2024 23:22:45 +0100

Hello!

Janneke Nieuwenhuizen <[email-masked]> skribis:

> * etc/guix-install.sh (GUILE_LOAD_PATH): Prepend directory to current Guix
> modules.
> (GUILE_LOAD_COMPILED_PATH): Likewise to compiled modules.
>
> Change-Id: I0b2722a38b1f8ebab32142cbc372a23cadfb0620

[...]

> @@ -557,6 +558,10 @@ GUIX_LOCPATH="$GUIX_PROFILE/lib/locale:${GUIX_LOCPATH:+:}$GUIX_LOCPATH"
>  
>  export GUIX_LOCPATH
>  
> +# Make Guix modules available
> +export GUILE_LOAD_PATH="$_GUIX_PROFILE/share/guile/site/3.0${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
> +export GUILE_LOAD_COMPILED_PATH="$_GUIX_PROFILE/lib/guile/3.0/site-ccache${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"

My inclination would be to let people just use ‘guix repl’, but maybe
that’s not satisfactory or convenient?  WDYT?

Ludo’.