From: Giovanni Biscuolo <g@xelera.eu>
To: Ricardo Wurmus <rekado@elephly.net>, zimoun <zimon.toutoune@gmail.com>
Cc: guix-devel@gnu.org, help-guix <help-guix@gnu.org>
Subject: Re: warning: failed to install locale
Date: Fri, 18 Jan 2019 11:35:28 +0100 [thread overview]
Message-ID: <87lg3iuubz.fsf@roquette.mug.biscuolo.net> (raw)
In-Reply-To: <87won3fjll.fsf@elephly.net>
[-- Attachment #1: Type: text/plain, Size: 1659 bytes --]
Hi Ricardo,
Ricardo Wurmus <rekado@elephly.net> writes:
[...]
> This is in your environment. But what about the daemon’s environment?
> It is not started in your environment where GUIX_LOCPATH is set. How do
> you start the daemon? If it’s via systemd you may want to look at the
> service file to see where GUIX_LOCPATH points.
OK now I understand too, thanks!
yes, Debian starts daemons via systemd and this issue is easily fixed by
installing glibc-utf8-locales in the guix default root profile:
sudo -i
guix package -i glibc-utf8-locales
sudo systemctl restart guix-daemon.service
after doing so, when I "guix build emacs --dry-run" the warning I
reported disappeared
I think a similar approach should resolve similar issues with other init
systems
since I used the binary install script [1] I think we should easily
patch that so that it also "guix package -i glibc-utf8-locales" for lazy
users like me :-)
I'm going to test the binary install script on a brend new Debian 9 lxc
container since I found other possible improvements
this is also not clearly stated in
https://www.gnu.org/software/guix/manual/en/html_node/Application-Setup.html#Locales-1
do it need to be fixed?
AFAIU adding "export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale" to
root's .profile or .bash_profile is not strictly needed (unless you want
to install and run packages as root user), so I'd _not_ automate this
via the binary install script or document this
Thanks!
Giovanni
[1] https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
--
Giovanni Biscuolo
Xelera IT Infrastructures
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
parent reply other threads:[~2019-01-18 10:35 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <87won3fjll.fsf@elephly.net>]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lg3iuubz.fsf@roquette.mug.biscuolo.net \
--to=g@xelera.eu \
--cc=guix-devel@gnu.org \
--cc=help-guix@gnu.org \
--cc=rekado@elephly.net \
--cc=zimon.toutoune@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).