all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why must GUIX_LOCPATH be manually exported?
@ 2022-05-12 15:47 Greg Hogan
  0 siblings, 0 replies; only message in thread
From: Greg Hogan @ 2022-05-12 15:47 UTC (permalink / raw)
  To: help-guix

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-12 15:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12 15:47 Why must GUIX_LOCPATH be manually exported? Greg Hogan

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.