From: Pjotr Prins <pjotr.public12@thebird.nl>
To: guix-devel@gnu.org
Subject: Guix locales on native distro's
Date: Sat, 26 Aug 2017 11:38:09 +0000 [thread overview]
Message-ID: <20170826113808.GA28741@lario> (raw)
This used to work:
https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#set-locale
But lately my locales have been giving me grief and I
want to crack it once and for all. I am running Guix tools on a
non-Guix distro.
First, as per instructions of
https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html#locales_002dand_002dlocpath,
I have installed glibc-utf8-locales which set them for glibc-2.25 and set
export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
ls $GUIX_LOCPATH/2.25/
en_US.UTF-8
(etc)
When I run
~/.guix-profile/bin/locale -a
C
POSIX
Which looks limited, but is probably correct.
I am running locale, bash, xterm etc. as Guix tools all linked to
glibc-2.25. I am *not* getting the infamous locale errors. After
setting
export LC_ALL=en_US.UTF-8
and
locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
All should be well. But when I read or write an E-mail using mutt or
vim (both linked correctly) I don't get to see UTF8. I don't get
non-ASCII output (Ludo's surname, for example).
Oh yes, I am running uxterm and bash from Guix with the correct glibc. All
tools are GUIX based except for X itself. E.g.
ldd `which xterm`
libc.so.6 => /gnu/store/ybpgv1v7606xw7mafda66w10hiynpiw2-glibc-2.25/lib/libc.so.6 (0x00007fad9302f000)
(etc)
Relevant environment settings:
GUIX_LOCPATH=/home/wrk/.guix-profile/lib/locale
PATH=/home/wrk/izip/git/opensource/scripts:/home/wrk/.guix-profile/bin:/home/wrk/.guix-profile/sbin:/usr/bin:/bin
SHELL=/home/wrk/.guix-profile/bin/bash
TERM=xterm
TERMINAL=guixterm
XTERM=xterm
XTERM_LOCALE=en_US.UTF-8
XTERM_SHELL=/bin/bash
XTERM_VERSION='XTerm(322)'
where /bin/bash actually points to a Guix bash.
What is it I am missing?
Pj.
next reply other threads:[~2017-08-26 11:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-26 11:38 Pjotr Prins [this message]
2017-08-27 6:13 ` Guix locales on native distro's Pjotr Prins
2017-08-27 8:56 ` Efraim Flashner
2017-08-27 11:57 ` Pjotr Prins
2017-08-27 13:35 ` Ricardo Wurmus
2017-08-27 15:47 ` Pjotr Prins
2017-09-24 8:36 ` Pjotr Prins
2017-10-03 6:25 ` Pjotr Prins
2017-08-28 23:03 ` Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170826113808.GA28741@lario \
--to=pjotr.public12@thebird.nl \
--cc=guix-devel@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.
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.