summary refs log tree commit diff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2023-06-24 15:17:42 +0200
committerJanneke Nieuwenhuizen <janneke@gnu.org>2023-07-21 17:58:18 +0200
commit540ff93f4a3cf0df34d4310a2e474a5716a5360e (patch)
treef6eac39fc487e57c1565504bb06cb75d2edbfd24
parentc8fab97da881e56b141295a3e57583bffdc7b09c (diff)
downloadguix-hurd-team.tar.gz
locale: Set %default-locale-definitions to glibc/hurd on the Hurd. hurd-team
* gnu/system/locale.scm (%default-locale-libcs): Use only glib/hurd when
building on the Hurd.
-rw-r--r--gnu/system/locale.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/system/locale.scm b/gnu/system/locale.scm
index 6895b209dc..bc572baeb9 100644
--- a/gnu/system/locale.scm
+++ b/gnu/system/locale.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2014-2017, 2019-2021, 2023 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
+;;; Copyright © 2023 Janneke Nieuwenhuizen <jannek@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -147,7 +148,9 @@ data format changes between libc versions."
 
 (define %default-locale-libcs
   ;; The libcs for which we build locales by default.
-  (list glibc-2.33 glibc))
+  (if (system-hurd?)
+      (list glibc/hurd)
+      (list glibc-2.33 glibc)))
 
 (define %default-locale-definitions
   ;; Arbitrary set of locales that are built by default.  They are here mostly