summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2023-06-24 15:17:42 +0200
committerJanneke Nieuwenhuizen <janneke@gnu.org>2023-09-16 15:35:25 +0200
commitf2cfb4a85c82882c571274573fd7ff646d380b63 (patch)
tree70c3b2453c8374fd3ba1b091e061a3a56193ea3a /gnu
parent32b4f59433df620ab8f4b9a6c523f8ef9500d75d (diff)
downloadguix-f2cfb4a85c82882c571274573fd7ff646d380b63.tar.gz
locale: Set %default-locale-definitions to glibc/hurd on the Hurd.
* gnu/system/locale.scm (%default-locale-libcs): Use only glib/hurd when
building on the Hurd.
Diffstat (limited to 'gnu')
-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