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: Environment=GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale 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 root. 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.
