Hello Laurence On Sat, 1 Feb 2025 19:51:49 +0000 Laurence Rochfort <laurence.rochf...@gmail.com> wrote:
> Specific reference is made there to using the Guix package system on a > distribution other than Guix System, and that the host system locale > data will not be used. Given I'm using Guix System, have I done > something wrong to receive this hint? Or am I misinterpreting the Info > page? The hint seems to come from the ui module. According to the source code, the conditions for it are: the locale is C and trying to set it to C.UTF-8 results in an error. This implies that the locale data which can be used by guix is not available to guix when guix runs that test. When running guix as a package manager on another distribution, the hint means that guix fails to use the locale data from the host system. So, section 2.6.1 of the guix manual suggest to install a locale package and set GUIX_LOCPATH. However, on a Guix System, the locale data is provided per the system configuration in /run/current-system/locale/ as explained in section 11.9 of the guix manual. So, while it is possible to install locale packages in the user profile and set GUIX_LOCPATH on a Guix System too, it should not be necessary. I also see the hint sometimes on a Guix System, but I am not sure why. It does not persist. Roman
pgpiIuysEN7LN.pgp
Description: PGP signature