It worked on both for me. Do you maybe have some local modifications that might explain why you can't build the website?

Le 21 mai 2021 14:12:25 GMT-04:00, Luis Felipe <luis.felipe.la@protonmail.com> a écrit :
On Friday, May 21, 2021 4:48 PM, Tissevert <tissevert+guix@marvid.fr> wrote:

Hey, it works here without -E GUIX_LOCPATH and without sharing any
'lib/locales?' file, system- or user-wide. Does that work for you too,
Luis-Felipe ?

I'm using guix bd382fa now, and it fails in the same way. This is without preserving GUIX_LOCPATH:

★★★★★★★★★★★★★★★★★★★★
$ GUIX_WEB_SITE_LOCAL=yes guix environment -C -m manifest.scm -E LANG --share=$HOME/.guix-profile/lib/locales -E GUIX_WEB_SITE_LOCAL --share=/tmp -- haunt build
guile: warning: failed to install locale
Backtrace:
2 (primitive-load "/gnu/store/vvys7f31iwaig3rabq190dlsg0x?")
In haunt/ui.scm:
131:2 1 (haunt-main _ "build")
In unknown file:
0 (setlocale 6 "")

ERROR: In procedure setlocale:
In procedure setlocale: Invalid argument
★★★★★★★★★★★★★★★★★★★★


And this is without preserving GUIX_LOCPATH and without sharing the locales directory:

★★★★★★★★★★★★★★★★★★★★
$ GUIX_WEB_SITE_LOCAL=yes guix environment -C -m manifest.scm -E LANG -E GUIX_WEB_SITE_LOCAL --share=/tmp -- haunt build
guile: warning: failed to install locale
Backtrace:
2 (primitive-load "/gnu/store/vvys7f31iwaig3rabq190dlsg0x?")
In haunt/ui.scm:
131:2 1 (haunt-main _ "build")
In unknown file:
0 (setlocale 6 "")

ERROR: In procedure setlocale:
In procedure setlocale: Invalid argument
★★★★★★★★★★★★★★★★★★★★


Tissevert, Julien, are you both using Guix System or Guix on foreign distribution? (I use the former).