[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/15: installer: Filter out C.UTF-8 from the list of locales.
From: |
guix-commits |
Subject: |
09/15: installer: Filter out C.UTF-8 from the list of locales. |
Date: |
Sun, 30 Apr 2023 17:22:13 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit d9d25bf517d4703dbf48a9efe99d086007b4603d
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Mon Apr 24 21:59:04 2023 +0200
installer: Filter out C.UTF-8 from the list of locales.
* gnu/installer/locale.scm (supported-locales->locales): Filter out
C.UTF-8. It
doesn't follow the other locales' format, and doesn't have a corresponding
iso639 code.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/installer/locale.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/installer/locale.scm b/gnu/installer/locale.scm
index ccffb6d8ef..2ec0598abb 100644
--- a/gnu/installer/locale.scm
+++ b/gnu/installer/locale.scm
@@ -93,9 +93,10 @@ optionally, CODESET."
(define (supported-locales->locales supported-locales)
"Given SUPPORTED-LOCALES, a file produced by 'glibc-supported-locales',
return a list of locales where each locale is an alist."
- (map (match-lambda
- ((locale . codeset)
- (locale-string->locale locale codeset)))
+ (filter-map (match-lambda
+ (("C.UTF-8" . codeset) #f)
+ ((locale . codeset)
+ (locale-string->locale locale codeset)))
(call-with-input-file supported-locales read)))
- branch master updated (a27e0d4533 -> 08675129aa), guix-commits, 2023/04/30
- 05/15: guix: import: crate: Fix incorrect returned values., guix-commits, 2023/04/30
- 01/15: import: pypi: Adjust tests for new build system., guix-commits, 2023/04/30
- 02/15: gnu: Add diffpdf., guix-commits, 2023/04/30
- 07/15: scripts: import: crate: Handle non-existent package., guix-commits, 2023/04/30
- 04/15: gnu: Add chicken-srfi-18., guix-commits, 2023/04/30
- 08/15: system: guix: Use config's ACL file location., guix-commits, 2023/04/30
- 03/15: gnu: Add chicken-compile-file., guix-commits, 2023/04/30
- 09/15: installer: Filter out C.UTF-8 from the list of locales.,
guix-commits <=
- 11/15: gnu: mumi: Add guile-gnutls to inputs., guix-commits, 2023/04/30
- 12/15: gnu: slim: Fix build failure with GCC-11, guix-commits, 2023/04/30
- 14/15: gnu: plover: Fix build., guix-commits, 2023/04/30
- 06/15: gnu: guix: Add guile-semver., guix-commits, 2023/04/30
- 10/15: doc: Add --sysconfdir=/etc to the recommended ./configure., guix-commits, 2023/04/30
- 13/15: gnu: slim: Update homepage., guix-commits, 2023/04/30
- 15/15: build: Undo "guix/scripts/import/cpan.scm" which was removed in commit 3aae8145a7., guix-commits, 2023/04/30