help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warning: failed to install locale


From: zimoun
Subject: Re: warning: failed to install locale
Date: Fri, 18 Jan 2019 11:13:42 +0100

Dear,


> echo $GUIX_LOCPATH
> gives no output as root (which runs the Guix daemon, presumably).

If I understand well, this should be expected. :-)

The $GUIX_LOCPATH in the root `env' is not necessary related to the
$GUIX_LOCPATH is the daemon `env'.


Well, if you run systemd, then the variable is defined in, say:

grep GUIX_LOCPATH /etc/systemd/system/guix-daemon.service

There you see where the GUIX_LOCPATH used by the daemon points to.
By default, the profile should be:
/var/guix/profiles/per-user/root/guix-profile/lib/locale

Therefore, if you install as root the glibc-utf8-locales, then it
should work. As Edouard said.

However, note that glibc-utf8-locales only contains the locales:
("de_DE" "el_GR" "en_US" "fr_FR" "tr_TR")

If the daemon is configured with another locale, then the simplest is
to install glibc-locales.
If your bandwidth is limited, be patient ;-) Or build a variant of
glibc-ut8-locales with your required locale.


If you run Upstart, it should be similar.

Hope that help.


All the best,
simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]