[Top][All Lists]

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

bug#39936: How To Resolve "LC_ALL: cannot change locale (en_US.utf8)"

From: Leo Famulari
Subject: bug#39936: How To Resolve "LC_ALL: cannot change locale (en_US.utf8)"
Date: Wed, 11 Mar 2020 18:48:55 -0400

On Wed, Mar 11, 2020 at 07:55:21PM +0000, David Philipe Gil wrote:
> i have been putting my environment variables in .profile and am not familiar 
> with using systemd. would you provide more specific info for what exactly to 
> do in steps as far as adding this guix locale support properly into my 
> systemd setup?

Make sure the file /etc/systemd/system/guix-daemon.service includes a
line like this in the Service section:


If you make any changes to that file, you need to make them take effect
by running `systemctl daemon-reload && systemctl restart guix-daemon` as

You should also run `env` from the shell where you use Guix and make
sure it includes GUIX_LOCPATH.

For both the systemd service file and your shell, you need to make sure
the value of GUIX_LOCPATH is a directory that contains locales, and that
they are the same version — there will be a directory with a version
number like '2.29' in, for example, '/home/leo/.guix-profile/lib/locale'.

This should all be handled by the installer script so it would be great
to figure out what's wrong.

reply via email to

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