mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
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.
This commit is contained in:
parent
dd3e4fe6e7
commit
afec278417
1 changed files with 3 additions and 4 deletions
|
@ -492,12 +492,11 @@ (define (install-locale)
|
||||||
(lambda _
|
(lambda _
|
||||||
(setlocale LC_ALL ""))
|
(setlocale LC_ALL ""))
|
||||||
(lambda args
|
(lambda args
|
||||||
(display-hint (G_ "Consider installing the @code{glibc-utf8-locales} or
|
(display-hint (G_ "Consider installing the @code{glibc-locales} package
|
||||||
@code{glibc-locales} package and defining @code{GUIX_LOCPATH}, along these
|
and defining @code{GUIX_LOCPATH}, along these lines:
|
||||||
lines:
|
|
||||||
|
|
||||||
@example
|
@example
|
||||||
guix install glibc-utf8-locales
|
guix install glibc-locales
|
||||||
export GUIX_LOCPATH=\"$HOME/.guix-profile/lib/locale\"
|
export GUIX_LOCPATH=\"$HOME/.guix-profile/lib/locale\"
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue