unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: David Philipe Gil <davidpgil@protonmail.com>
Cc: "39936@debbugs.gnu.org" <39936@debbugs.gnu.org>
Subject: bug#39936: How To Resolve "LC_ALL: cannot change locale (en_US.utf8)"
Date: Wed, 11 Mar 2020 18:48:55 -0400	[thread overview]
Message-ID: <20200311224855.GA22532@jasmine.lan> (raw)
In-Reply-To: <hiIBZi73kK2T6DyZWRdvlHs4AqLrG6wpLmrTr5OD_I4zbUHl_oSRPNxAmMsssXUKmRewd81uHJMUVcYx3t6hCj5Cu16WC0c3D18LjrUhDqw=@protonmail.com>

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.

  reply	other threads:[~2020-03-11 22:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-05 20:53 bug#39936: How To Resolve "LC_ALL: cannot change locale (en_US.utf8)" David Philipe Gil via Bug reports for GNU Guix
2020-03-11 19:05 ` Leo Famulari
2020-03-11 19:55   ` David Philipe Gil via Bug reports for GNU Guix
2020-03-11 22:48     ` Leo Famulari [this message]
2020-03-12 12:24       ` David Philipe Gil via Bug reports for GNU Guix
2020-03-12 17:37         ` Leo Famulari
2020-03-12 20:58           ` David Philipe Gil via Bug reports for GNU Guix
2020-03-14 17:27             ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200311224855.GA22532@jasmine.lan \
    --to=leo@famulari.name \
    --cc=39936@debbugs.gnu.org \
    --cc=davidpgil@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).