guix_mirror_bot pushed a commit to branch version-1.5.0 in repository guix.
commit 88f0151d9f85a56cc0b32a192079f82fc01df470 Author: Rutherther <[email protected]> AuthorDate: Wed Jan 21 14:19:46 2026 +0100 installer: kernel: Accept empty list as kernel. On architectures other than x86_64, the kernel page is not shown. That means the kernel will be an empty list. This leads to an exception during installation. Followup of 139a69b60201769ded53667872ca8dbad8f6e216, part of #5515. * gnu/installer/kernel.scm (kernel->configuration): Accept empty kernel. Change-Id: I7891f189ecc8d557aa9bb900a6633a570e46a3b6 --- gnu/installer/kernel.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/installer/kernel.scm b/gnu/installer/kernel.scm index a07d24d09a..2700931d40 100644 --- a/gnu/installer/kernel.scm +++ b/gnu/installer/kernel.scm @@ -27,7 +27,8 @@ str) (define (kernel->configuration kernel dry-run?) - (if (string-prefix? "Hurd" kernel) + (if (and (string? kernel) + (string-prefix? "Hurd" kernel)) `((kernel %hurd-default-operating-system-kernel) ,(comment (G_ ";; \"noide\" disables the gnumach IDE driver, enabling rumpdisk.\n")) (kernel-arguments '("noide"))
