unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Greg Hogan <code@greghogan.com>
To: help-guix@gnu.org
Subject: Why must GUIX_LOCPATH be manually exported?
Date: Thu, 12 May 2022 11:47:00 -0400	[thread overview]
Message-ID: <CA+3U0ZnSO3gwyVVAmcSgAHpYBmw1B_Mz=Wj8msHN_wtD88mmfQ@mail.gmail.com> (raw)

I am seeing the following warning running Guix on a foreign distribution:

    $ man man
    man: can't set the locale; make sure $LC_* and $LANG are correct

The errors disappear when I manually configure GUIX_LOCPATH, as
described at https://guix.gnu.org/manual/devel/en/html_node/Application-Setup.html:

    $ guix install glibc-locales
    $ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale

Why is GUIX_LOCPATH not automatically added to the user profile
(loaded with 'source ${GUIX_PROFILE}/etc/profile')? We see with `guix
shell` that GUIX_LOCPATH is not set in the user environment:

    $ guix shell glibc-locales --pure --search-paths
    <no output>

If GUIX_LOCPATH cannot be automatically exported in the user profile,
I am wondering if it could be set from the manifest by the example
custom 'my-glibc-locales' from the link above.

Greg


                 reply	other threads:[~2022-05-12 15:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CA+3U0ZnSO3gwyVVAmcSgAHpYBmw1B_Mz=Wj8msHN_wtD88mmfQ@mail.gmail.com' \
    --to=code@greghogan.com \
    --cc=help-guix@gnu.org \
    /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.
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).