[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
49/59: system: hurd: Use 64bit gnumach for the 64bit Hurd.
From: |
guix-commits |
Subject: |
49/59: system: hurd: Use 64bit gnumach for the 64bit Hurd. |
Date: |
Mon, 11 Nov 2024 09:56:11 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 52f615e031e134f37d20b5bda18e24391c6654c0
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat Nov 9 17:04:00 2024 +0100
system: hurd: Use 64bit gnumach for the 64bit Hurd.
* gnu/system/hurd.scm (%hurd-default-operating-system-kernel): Use
actual (%current-target-system) to specify (%current-system) instead of
using
hardcoded "i686-linux".
Change-Id: Ifc179bce221b1a54461860c24ba400cf6932ec86
---
gnu/system/hurd.scm | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 9a351529e8..58e41959f4 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -18,6 +18,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu system hurd)
+ #:use-module (ice-9 match)
#:use-module (guix gexp)
#:use-module (guix profiles)
#:use-module (guix utils)
@@ -64,9 +65,13 @@
(if (system-hurd?)
gnumach
;; A cross-built GNUmach does not work
- (with-parameters ((%current-system "i686-linux")
- (%current-target-system #f))
- gnumach)))
+ (let ((system (match (%current-system)
+ ((? target-x86-32?) "i686-linux")
+ ((? target-x86-64?) "x86_64-linux")
+ (_ "i686-linux"))))
+ (with-parameters ((%current-system system)
+ (%current-target-system #f))
+ gnumach))))
(define %base-packages/hurd
;; Note: the Shepherd comes before the Hurd, not just because its duty is to
- 39/59: gnu: libpciaccess: Support the 64bit Hurd., (continued)
- 39/59: gnu: libpciaccess: Support the 64bit Hurd., guix-commits, 2024/11/11
- 42/59: gnu: rumpkernel: Update to f1ffd6405f225336e595a0f99f01095ed7438337., guix-commits, 2024/11/11
- 57/59: gnu: gettext: Fix cross-build shebangs., guix-commits, 2024/11/11
- 59/59: gnu: flex: Fix build for the 64bit Hurd., guix-commits, 2024/11/11
- 47/59: gnu: grub: Fix build for the 64bit Hurd., guix-commits, 2024/11/11
- 50/59: squash! gnu: gnumach: Update to v1.8+git20240714., guix-commits, 2024/11/11
- 54/59: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20240714., guix-commits, 2024/11/11
- 51/59: gnu: m4: Fix build for the 64bit Hurd., guix-commits, 2024/11/11
- 58/59: gnu: texinfo-4: Fix build for the 64bit Hurd., guix-commits, 2024/11/11
- 55/59: gnu: commencement: libstdc++-boot0-gcc7: Replace by make-libstdc++-boot0., guix-commits, 2024/11/11
- 49/59: system: hurd: Use 64bit gnumach for the 64bit Hurd.,
guix-commits <=
- 53/59: gnu: commencement: mig-boot0: Update to 1.8+git20231217.., guix-commits, 2024/11/11