all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 75007-done@debbugs.gnu.org
Cc: Tobias Geerinckx-Rice <me@tobias.gr>,
	Christopher Baines <guix@cbaines.net>,
	Josselin Poiret <dev@jpoiret.xyz>,
	Simon Tournier <zimon.toutoune@gmail.com>,
	Mathieu Othacehe <othacehe@gnu.org>
Subject: bug#75007: [PATCH] guile-launcher: Avoid the “C” locale and try “C.UTF-8”.
Date: Sat, 04 Jan 2025 23:38:55 +0100	[thread overview]
Message-ID: <87h66enr0g.fsf@gnu.org> (raw)
In-Reply-To: <24813952576725c0d7f6478543eec8e2747d525d.1734777730.git.ludo@gnu.org> ("Ludovic Courtès"'s message of "Sat, 21 Dec 2024 11:44:27 +0100")

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

> This is a followup to ed0cd12a82b429bc5058f693a0f75f2ba0ee47c4, which
> adds the C.UTF-8 locale to the glibc package, and
> ee4e79f871bc2f848ce4b4a176bb725ab71e3cd6, which changed the default to
> “C.UTF-8” for ‘guix’ commands.
>
> Fixes a bug whereby starting ‘guix’ in an environment where the LC_*
> variables are unset would start it in the “C” locale:
>
>   echo '(pk (setlocale LC_ALL))' | guix shell -CW coreutils -- guix repl
>
> This would lead to breakage for commands such as ‘guix substitute’ that
> need to run in a UTF-8 locale.
>
> * gnu/packages/aux-files/guile-launcher.c (main): Try “C.UTF-8” before
> “en_US.UTF-8”.  Do that also when the current locale is “C”.
> * guix/ui.scm (install-locale): Likewise.
>
> Change-Id: I36da4db8f898f1083b33760e1ab46c3a257de811

Pushed as d7c8a5ff3c76461d469364e920ec4f09f9e3c126.




      reply	other threads:[~2025-01-04 22:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-21 10:44 [bug#75007] [PATCH] guile-launcher: Avoid the “C” locale and try “C.UTF-8” Ludovic Courtès
2025-01-04 22:38 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h66enr0g.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=75007-done@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=guix@cbaines.net \
    --cc=me@tobias.gr \
    --cc=othacehe@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.