From 395782f235a959868375ef52ec04856a7e8957c9 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sun, 5 Jul 2020 09:40:34 +0200 Subject: system: Do not use "hurd-target?". MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the following issue, that happens during CI evaluation: In guix/gexp.scm: 782:4 19 (_ _) In guix/store.scm: 1907:12 18 (_ #) 1340:2 17 (map/accumulate-builds # …) In srfi/srfi-1.scm: 586:29 16 (map1 ((# …) …)) 586:29 15 (map1 ((# bindings:…> …) …)) 586:29 14 (map1 ((# …) …)) 586:17 13 (map1 ((#< kernel: #< …) …)) In guix/store.scm: 1299:8 12 (call-with-build-handler # …) 2025:24 11 (run-with-store # …) In guix/gexp.scm: 785:13 10 (_ _) In guix/store.scm: 1859:8 9 (_ _) In guix/gexp.scm: 243:18 8 (_ _) In guix/store.scm: 1894:38 7 (_ #) In gnu/system.scm: 1012:19 6 (_ #) 634:11 5 (operating-system-services #< kernel:…>) 611:17 4 (hurd-default-essential-services #< k…>) 555:18 3 (operating-system-directory-base-entries #<) 1270:18 2 (operating-system-boot-parameters-file #< …) 1225:35 1 (operating-system-boot-parameters #<…> …) 1225:35 0 (operating-system-boot-parameters (#< de…>) …) gnu/system.scm:1225:35: In procedure operating-system-boot-parameters: Wrong type to apply: #f "hurd-target?" is returning false when it should return true in that context. * gnu/system.scm (operating-system-boot-parameters): Check for "hurd" target field of "os" instead of using the "hurd-target?" procedure. --- gnu/system.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/system.scm b/gnu/system.scm index bfbcb6fbdd..f915057f36 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -1221,7 +1221,7 @@ a list of , to populate the \"old entries\" menu." "Return a monadic record that describes the boot parameters of OS. When SYSTEM-KERNEL-ARGUMENTS? is true, add kernel arguments such as '--root' and '--load' to ." - (let* ((initrd (and (not (hurd-target?)) + (let* ((initrd (and (not (operating-system-hurd os)) (operating-system-initrd-file os))) (store (operating-system-store-file-system os)) (bootloader (bootloader-configuration-bootloader -- cgit v1.2.3