[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/12: system: bare-hurd.tmpl: Include glibc-2.33 locales in cross-build
From: |
guix-commits |
Subject: |
03/12: system: bare-hurd.tmpl: Include glibc-2.33 locales in cross-build. |
Date: |
Tue, 19 Sep 2023 05:11:28 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit fdfb185395e1b6d87d74db43190d4d5b9069b13a
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Sep 17 08:18:56 2023 +0200
system: bare-hurd.tmpl: Include glibc-2.33 locales in cross-build.
This fixes building of guile-avahi in the childhurd.
* gnu/system/examples/bare-hurd.tmpl (%hurd-os)[locale-libcs]: New field.
---
gnu/system/examples/bare-hurd.tmpl | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/system/examples/bare-hurd.tmpl
b/gnu/system/examples/bare-hurd.tmpl
index 463c7ee798..ac5f2194eb 100644
--- a/gnu/system/examples/bare-hurd.tmpl
+++ b/gnu/system/examples/bare-hurd.tmpl
@@ -23,9 +23,9 @@
;;
;; guix build hello
-(use-modules (gnu) (gnu system hurd) (guix utils))
+(use-modules (gnu) (gnu system hurd) (gnu system locale) (guix utils))
(use-service-modules ssh)
-(use-package-modules ssh)
+(use-package-modules base ssh)
(define %hurd-os
(operating-system
@@ -40,6 +40,11 @@
%base-file-systems))
(host-name "guixygnu")
(timezone "Europe/Amsterdam")
+ ;; FIXME: guile-avahi won't build in a VM with only libc-2.37?
+ ;; encoding-error "scm_to_stringn" "cannot convert narrow string to output
locale" 1073741930 #f #f
+ (locale-libcs (if (system-hurd?)
+ (list glibc/hurd)
+ %default-locale-libcs))
(users (cons (user-account
(name "guix")
(comment "Anonymous Hurd Hacker")
- branch hurd-team created (now 539b171a59), guix-commits, 2023/09/19
- 03/12: system: bare-hurd.tmpl: Include glibc-2.33 locales in cross-build.,
guix-commits <=
- 04/12: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/09/19
- 06/12: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/09/19
- 10/12: gnu: Add libc-locales-for-target and glibc-locales/hurd., guix-commits, 2023/09/19
- 12/12: Revert "DRAFT daemon: Support chroot builds on GNU/Hurd.", guix-commits, 2023/09/19
- 01/12: gnu: guix: Update to 1.4.0-11.15c5f1a2c2., guix-commits, 2023/09/19
- 02/12: gnu: guix: Update to 1.4.0-12.d739255432., guix-commits, 2023/09/19
- 05/12: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/09/19
- 07/12: DRAFT hurd: Support second boot., guix-commits, 2023/09/19
- 08/12: DRAFT hurd-boot: Support second boot., guix-commits, 2023/09/19
- 09/12: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2023/09/19