What I intended with the patch was to provide those locales in the environment, 
so you'd set GUIX_LOCPATH=$GUIX_PROFILE/lib/locale (and I thought guix would do 
it itself). Now I noticed it did not work as expected: it creates the directory 
directly under the profile instead of under lib/locale. Give me a moment to 
send a v2.

Le 7 avril 2021 12:27:07 GMT-04:00, Luis Felipe <luis.felipe...@protonmail.com> 
a écrit :
>On Wednesday, April 7, 2021 3:10 PM, Julien Lepiller
><jul...@lepiller.eu> wrote:
>
>> Weird, is GUIX_LOCPATH not set at all maybe?
>
>I have this:
>
>★★★★★★★★★★★★★★★★★★★★
>$ echo $GUIX_LOCPATH
>/run/current-system/locale
>$ tree /run/current-system/locale
>/run/current-system/locale
>├── 2.29 ->
>/gnu/store/dlf4a3zrx0rrb38v3w42317fbd2p4dnb-locale-2.29/2.29
>└── 2.31 ->
>/gnu/store/xlzv58dyh7nw8gv1w33byhx8f19aqivk-locale-2.31/2.31
>
>2 directories, 0 files
>★★★★★★★★★★★★★★★★★★★★
>
>For what it's worth, using the packages from my user profile, I can
>setlocale from a Guile REPL to "de_DE.utf8" and it works. I also tried
>it on my website, which is internationalized and localized, made it
>build pages in that same locale, and it works too (although it doesn't
>use Haunt nor Guix i18n mechanism, but it is Guile Scheme).

Reply via email to