unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25136: locale confusion
@ 2016-12-08 13:48 Dave Love
  2016-12-08 20:08 ` Leo Famulari
  2016-12-09  6:46 ` Chris Marusich
  0 siblings, 2 replies; 4+ messages in thread
From: Dave Love @ 2016-12-08 13:48 UTC (permalink / raw)
  To: 25136

I followed the instructions for getting locales working in
"(guix)Application Setup" to no effect initially.  I'm running over
RHEL6, if that's relevant, and I have:

  $ locale
  LANG=en_GB.UTF-8
  LC_CTYPE="en_GB.UTF-8"
  LC_NUMERIC="en_GB.UTF-8"
  LC_TIME="en_GB.UTF-8"
  LC_COLLATE="en_GB.UTF-8"
  LC_MONETARY="en_GB.UTF-8"
  LC_MESSAGES="en_GB.UTF-8"
  LC_PAPER="en_GB.UTF-8"
  LC_NAME="en_GB.UTF-8"
  LC_ADDRESS="en_GB.UTF-8"
  LC_TELEPHONE="en_GB.UTF-8"
  LC_MEASUREMENT="en_GB.UTF-8"
  LC_IDENTIFICATION="en_GB.UTF-8"
  LC_ALL=
  $ export -p | grep GUIX
  declare -x GUIX_LOCPATH="/home/dlove/.guix-profile/lib/locale"
  $ find $GUIX_LOCPATH -name en_GB.UTF-8
  /home/dlove/.guix-profile/lib/locale/2.24/en_GB.UTF-8

but saw this (note the warning):

  $ guix --version 
  warning: failed to install locale: Invalid argument
  guix (GNU Guix) 20161208.12
  Copyright (C) 2016 the Guix authors
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.

strace showed it looking in "locale/2.23", not "locale/2.24", despite
the environment.

"guix" there was from the /usr/local/bin link suggested by the
installation instructions.  After a "guix package -i guix" (to the same
version of guix, but now in .guix-profile), I don't get the warning but
I wonder why that should have made a difference and why the environment
seems to be ignored.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-12 13:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-08 13:48 bug#25136: locale confusion Dave Love
2016-12-08 20:08 ` Leo Famulari
2016-12-12 13:40   ` Dave Love
2016-12-09  6:46 ` Chris Marusich

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).