Subject: Re: bug#24192: Gajim fails with locale.Error

From: Alex Kost <[email-masked]>
Date: Thu, 11 Aug 2016 17:05:58 +0300

Arun Isaac (2016-08-10 12:53 +0300) wrote:

> I was using en_IN.UTF-8.
>
> After switching to en_US.UTF-8 and setting GUIX_LOCPATH and
> XDG_DATA_DIRS with
>
> export GUIX_LOCPATH="/gnu/store/rvc5iqmqwhhmj2mcip4x1y9g8chrlxs8-profile/lib/locale${GUIX_LOCPATH:+:}$GUIX_LOCPATH"
> export XDG_DATA_DIRS="/gnu/store/rvc5iqmqwhhmj2mcip4x1y9g8chrlxs8-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"

It is better to use "~/.guix-profile/..." links (or whatever profile it
is) instead of the direct file names from the store, as they may be
"gc"-ed one day.

> gajim runs successfully.
>
> Isn't there a more automated way to handle these environment variables?

I don't think so: if you are not on GuixSD, you have to set these
variables yourself.

-- 
Alex