all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: quiliro@fsfla.org
Cc: help-guix <help-guix@gnu.org>
Subject: Re: warning: failed to install locale
Date: Fri, 18 Jan 2019 11:13:42 +0100	[thread overview]
Message-ID: <CAJ3okZ2qUmFf2Lm_dV0BVCGhhhMkDRUBiPtfVVduLSZUSqFZmw@mail.gmail.com> (raw)
In-Reply-To: <2d571a602d342564a6d0b042437c6a4e@riseup.net>

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

  parent reply	other threads:[~2019-01-18 10:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-16 18:11 warning: failed to install locale Giovanni Biscuolo
2019-01-17 13:31 ` zimoun
2019-01-17 13:39 ` Ricardo Wurmus
2019-01-17 14:18   ` zimoun
2019-01-17 14:24     ` Ricardo Wurmus
2019-01-17 16:27       ` zimoun
2019-01-17 20:56       ` Quiliro Ordonez
2019-01-17 21:05         ` Edouard KLEIN
2019-01-18 10:13         ` zimoun [this message]
2019-01-18 15:51           ` Quiliro Ordonez
2019-01-18 10:35       ` Giovanni Biscuolo
2019-01-18 10:59         ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ3okZ2qUmFf2Lm_dV0BVCGhhhMkDRUBiPtfVVduLSZUSqFZmw@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=quiliro@fsfla.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.