[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: locale warnings
From: |
Oleg Pykhalov |
Subject: |
Re: locale warnings |
Date: |
Tue, 26 Jun 2018 19:48:53 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello Hinko,
Hinko Kocevar <address@hidden> writes:
[…]
>> I followed the instructions to set up locale for user
>> (https://www.gnu.org/software/guix/manual/guix.html#Application-Setup),
>> but I'm still getting these messages for each guix invocation:
>>
>> substitute: guile: warning: failed to install locale
>> substitute: warning: failed to install locale: Invalid argument
>
> These warnings come from the ‘guix substitute’ process, which is spawned
> as root by ‘guix-daemon’.
>
> To fix it, you need to add GUIX_LOCPATH to ‘guix-daemon.service’ if it’s
> not already there, like this:
>
>
> https://git.savannah.gnu.org/cgit/guix.git/tree/etc/guix-daemon.service.in#n10
Did adding a GUIX_LOCPATH environment variable to the
guix-daemon.service help? I have the same issue on GNU/Linux Mint
workstation, but this tip didn't help me.
--8<---------------cut here---------------start------------->8---
$ PAGER= systemctl show guix-daemon.service | grep locale
Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
$ sudo guix package -I
…
guix 0.14.0 out /gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.14.0
glibc-utf8-locales 2.25 out
/gnu/store/xa391b23r5lbwxb9q26sq5rq1fkd1xi3-glibc-utf8-locales-2.25
glibc-locales 2.27 out
/gnu/store/s28fmfrq8r0c688x59cj0fcyh2pv87nj-glibc-locales-2.27
glibc 2.27 out /gnu/store/y7siq9fr3dyccyaig94rpkqfimbiw35f-glibc-2.27
--8<---------------cut here---------------end--------------->8---
Thanks,
Oleg.
signature.asc
Description: PGP signature