--- Begin Message ---
Subject: |
Spurious "environment variable may be needed" output |
Date: |
Sat, 11 Mar 2017 19:32:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
'guix package' commands keep giving me this output:
The following environment variable definitions may be needed:
export
GUILE_LOAD_COMPILED_PATH="/home/taylan/.guix-profile/lib/guile/2.0/site-ccache:/home/taylan/.guix-profile/share/guile/site/2.0${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
I already have said paths in my $GUILE_LOAD_COMPILED_PATH. In fact, I
get the output even if I define it to have *solely* those two paths.
address@hidden:~$ guix package -r nano
[... snip ...]
75 packages in profile
The following environment variable definitions may be needed:
export
GUILE_LOAD_COMPILED_PATH="/home/taylan/.guix-profile/lib/guile/2.0/site-ccache:/home/taylan/.guix-profile/share/guile/site/2.0${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
address@hidden:~$ echo $GUILE_LOAD_COMPILED_PATH
/home/taylan/.guix-profile/lib/guile/2.0/site-ccache:/home/taylan/.guix-profile/share/guile/site/2.0
address@hidden:~$
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#26062: Spurious "environment variable may be needed" output |
Date: |
Sun, 19 Mar 2017 16:51:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
address@hidden (Taylan Ulrich "Bayırlı/Kammer") skribis:
> address@hidden (Ludovic Courtès) writes:
>
>> Above the ‘wrap-program’ call, there’s this comment:
>>
>> ;; Ignore user settings so that a bogus
>> ;; GUILE_LOAD_COMPILED_PATH does not prevent use of
>> ;; 'guix', notably when it contains entries pointing to
>> ;; incompatible .go files as reported at
>> ;;
>> <https://lists.gnu.org/archive/html/guix-devel/2016-03/msg01261.html>.
>
> Duh, missed that. :-)
>
>> Since 2.0.12, Guile skips invalid .go files, so this problem is gone.
>> So I think you can go ahead and change '= to 'prefix there.
>
> Done and pushed.
Thanks, closing the bug.
Ludo'.
--- End Message ---