all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is installing `glibc-locales` necessary on GuixSD?
@ 2024-09-01  6:57 Ada Stevenson
  2024-09-02  5:38 ` Ada Stevenson
  0 siblings, 1 reply; 4+ messages in thread
From: Ada Stevenson @ 2024-09-01  6:57 UTC (permalink / raw)
  To: Guix Devel

Hi Guix!

Congratulations to everyone who worked on the core-updates merge!

A lot of things have changed though, and I was curious about this new 
message I've been getting whenever I invoke `guix`.

> hint: Consider installing the `glibc-locales' package and defining `GUIX_LOCPATH', along these lines:
> 
>      guix install glibc-locales
>      export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
> 
> See the "Application Setup" section in the manual, for more info.

I've looked at the section in the manual, and it essentially reiterates 
the message here. For me, this is strange. The benefit of using GuixSD 
is that stuff like this is handled for me - things like search paths and 
the like that need to be taken care of separately on a foreign 
distribution are pre-configured here.

I feel like this new locale change should be one of these things that is 
handled by GuixSD, somehow incorporated into `%base-packages` and the 
environment variables set in the default `.profile` script like the 
other Guix specific env-vars.

What do you all think?

Warmly,
Ada


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Is installing `glibc-locales` necessary on GuixSD?
  2024-09-01  6:57 Is installing `glibc-locales` necessary on GuixSD? Ada Stevenson
@ 2024-09-02  5:38 ` Ada Stevenson
  2024-09-06  8:49   ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Ada Stevenson @ 2024-09-02  5:38 UTC (permalink / raw)
  To: Guix Devel

Hi Guix...

This is embarrassing. I sent this email before I actually reconfigured 
my system, and it seems like the message has gone away and the locales 
are working....... oops!

Please disregard this message!

On 01/09/2024 6:57 am, Ada Stevenson wrote:
> Hi Guix!
> 
> Congratulations to everyone who worked on the core-updates merge!
> 
> A lot of things have changed though, and I was curious about this new 
> message I've been getting whenever I invoke `guix`.
> 
>> hint: Consider installing the `glibc-locales' package and defining 
>> `GUIX_LOCPATH', along these lines:
>>
>>      guix install glibc-locales
>>      export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
>>
>> See the "Application Setup" section in the manual, for more info.
> 
> I've looked at the section in the manual, and it essentially reiterates 
> the message here. For me, this is strange. The benefit of using GuixSD 
> is that stuff like this is handled for me - things like search paths and 
> the like that need to be taken care of separately on a foreign 
> distribution are pre-configured here.
> 
> I feel like this new locale change should be one of these things that is 
> handled by GuixSD, somehow incorporated into `%base-packages` and the 
> environment variables set in the default `.profile` script like the 
> other Guix specific env-vars.
> 
> What do you all think?
> 
> Warmly,
> Ada

Warmly,
Ada


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Is installing `glibc-locales` necessary on GuixSD?
  2024-09-02  5:38 ` Ada Stevenson
@ 2024-09-06  8:49   ` Ludovic Courtès
  2024-12-15  3:10     ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2024-09-06  8:49 UTC (permalink / raw)
  To: Ada Stevenson; +Cc: Guix Devel

Hi Ada,

Ada Stevenson <adanskana@gmail.com> skribis:

> This is embarrassing. I sent this email before I actually reconfigured
> my system, and it seems like the message has gone away and the locales
> are working....... oops!

I missed this message before.  Indeed, once you’ve reconfigured,
/run/current-system/locale is, by default, populated with locale data
for both the old and the new version of glibc.  Thus, both “old”
binaries (linked against glibc 2.35) and new ones (linked against 2.39)
find compatible locale data.

See
<https://guix.gnu.org/manual/devel/en/html_node/Locales.html#Locale-Data-Compatibility-Considerations>.

Cheers,
Ludo’.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Is installing `glibc-locales` necessary on GuixSD?
  2024-09-06  8:49   ` Ludovic Courtès
@ 2024-12-15  3:10     ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2024-12-15  3:10 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Ada Stevenson, Guix Devel

Hi Ludovic,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi Ada,
>
> Ada Stevenson <adanskana@gmail.com> skribis:
>
>> This is embarrassing. I sent this email before I actually reconfigured
>> my system, and it seems like the message has gone away and the locales
>> are working....... oops!
>
> I missed this message before.  Indeed, once you’ve reconfigured,
> /run/current-system/locale is, by default, populated with locale data
> for both the old and the new version of glibc.  Thus, both “old”
> binaries (linked against glibc 2.35) and new ones (linked against 2.39)
> find compatible locale data.

I guess there should be some user guidance either documented or from the
CLI (using news items?) to tell users what to do when the glibc gets
updated:

1. First update your Guix System
2. *Then* update the package collection from your user profile

Doing it in reverse leads to problems such as reported in #74209
(locales-related breakage).

-- 
Thanks,
Maxim


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-15  3:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-01  6:57 Is installing `glibc-locales` necessary on GuixSD? Ada Stevenson
2024-09-02  5:38 ` Ada Stevenson
2024-09-06  8:49   ` Ludovic Courtès
2024-12-15  3:10     ` Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.