[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Locales on NixOS
From: |
Andy Wingo |
Subject: |
Locales on NixOS |
Date: |
Mon, 10 Aug 2015 13:32:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hi,
On one machine I have a NixOS system install and a Guix user install.
The specified recipe to set LOCPATH doesn't work for me there for some
reason. I can't figure out why, the strace didn't show anything
obvious.
locale from NixOS locale from guix
-----------------------------------+--------------------+-----------------
LOCPATH unset | (1) | (3)
LOCPATH=~/.guix-profile/lib/locale | (2) | (4)
This NixOS is the latest stable release and has glibc 2.20. Guix is
from master and has glibc 2.21.
(1)
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_GB.utf8
LC_TIME=en_GB.utf8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_GB.utf8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_GB.utf8
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=en_GB.utf8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
(2)
/run/current-system/sw/bin/locale: Cannot set LC_ALL to default locale: No such
file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_GB.utf8
LC_TIME=en_GB.utf8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_GB.utf8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_GB.utf8
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=en_GB.utf8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
(3)
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_GB.utf8
LC_TIME=en_GB.utf8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_GB.utf8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_GB.utf8
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=en_GB.utf8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
(4)
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_GB.utf8
LC_TIME=en_GB.utf8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_GB.utf8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_GB.utf8
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=en_GB.utf8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
In all cases glibc-locales and glibc are installed. What am I doing
wrong? The settings ultimately come from GNOME's chooser thing, so
dunno what's up there but they should be fine. Only (1) is a success.
Andy
- Locales on NixOS,
Andy Wingo <=