summaryrefslogtreecommitdiff
path: root/guix/ui.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-05-03 15:57:24 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-05-05 00:44:17 -0400
commitafec2784174058fdd85d9698e1fa748c45bfa8ee (patch)
tree90d020ed1caa61e8e09e54d6f3ff607d9f7c67ed /guix/ui.scm
parentdd3e4fe6e717712779b2405371a287ba730b9c98 (diff)
ui: Suggest installing glibc-locales, not glibc-utf8-locales.
Users (both old and new) struggling with locale warnings is a recurrent theme; part of it may be due to the glibc-utf8-locales package being misleading, as it only includes a subset of the UTF-8 locales. To prevent confusion, suggest installing the glibc-locales package instead. * guix/ui.scm (install-locale): Do not mention glibc-utf8-locales in the hint message. Use glibc-locales instead of glibc-utf8-locales in the provided example.
Diffstat (limited to 'guix/ui.scm')
-rw-r--r--guix/ui.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/guix/ui.scm b/guix/ui.scm
index 334dce2c68..e2cf2f1f5e 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -492,12 +492,11 @@ part."
(lambda _
(setlocale LC_ALL ""))
(lambda args
- (display-hint (G_ "Consider installing the @code{glibc-utf8-locales} or
-@code{glibc-locales} package and defining @code{GUIX_LOCPATH}, along these
-lines:
+ (display-hint (G_ "Consider installing the @code{glibc-locales} package
+and defining @code{GUIX_LOCPATH}, along these lines:
@example
-guix install glibc-utf8-locales
+guix install glibc-locales
export GUIX_LOCPATH=\"$HOME/.guix-profile/lib/locale\"
@end example