summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-09-24 21:02:35 +0200
committerLudovic Courtès <ludo@gnu.org>2015-09-24 21:21:01 +0200
commit5c3c1427fa718ae89a7f893ac52d7a3fe8d99d60 (patch)
treee44624dab680c105dfca5913fd72a6a4043c6d32 /doc
parentd6445dff1484cbd7b9c05906a8210fe99898daa2 (diff)
downloadpatches-5c3c1427fa718ae89a7f893ac52d7a3fe8d99d60.tar
patches-5c3c1427fa718ae89a7f893ac52d7a3fe8d99d60.tar.gz
doc: Mention /run/current-system/locale.
* doc/guix.texi (Application Setup): Add anchor and index entry. (Locales): Refer to it. Mention /run/current-system/locale.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 3ca4cefa63..07c5add5aa 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -933,7 +933,9 @@ some of them.
@subsection Locales
+@anchor{locales-and-locpath}
@cindex locales, when not on GuixSD
+@vindex LOCPATH
Packages installed @i{via} Guix will not use the host system's locale
data. Instead, you must first install one of the locale packages
available with Guix and then define the @code{LOCPATH} environment
@@ -5568,6 +5570,13 @@ list only the locales that are actually used, as in:
(charset "EUC-JP")))
@end example
+@vindex LOCPATH
+The compiled locale definitions are available at
+@file{/run/current-system/locale}, which is the default location where
+the GNU@tie{}libc looks for locale data. This can be overridden using
+the @code{LOCPATH} environment variable (@pxref{locales-and-locpath,
+@code{LOCPATH} and locale packages}).
+
The @code{locale-definition} form is provided by the @code{(gnu system
locale)} module. Details are given below.