From 1b1b3040119e081065fc05dbf41b0a22538cdbed Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 24 Jan 2025 10:36:16 +0200 Subject: [PATCH] bootloader/grub: Create grub background image with ungrafted inputs. This fixes bug https://issues.guix.gnu.org/75510. * gnu/bootloader/grub.scm (image->png): Create the grub-image using ungrafted inputs. Change-Id: Ia23dd081d9711c703b7bf795dc376e024bb5caff --- gnu/bootloader/grub.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm index c2462d5d036..e136482c541 100644 --- a/gnu/bootloader/grub.scm +++ b/gnu/bootloader/grub.scm @@ -140,7 +140,12 @@ Otherwise the picture in IMAGE is just copied." (svg->png #+image #$output #:width #$width #:height #$height)) - (copy-file #+image #$output)))))) + (copy-file #+image #$output)))) + ;; Work around a bug in grafts where different versions of + ;; guile-cairo are loaded from (gnu build svg). + ;; As seen in https://issues.guix.gnu.org/47115#23 and + ;; in https://issues.guix.gnu.org/75510. + #:options '(#:graft? #f))) (define* (grub-background-image config) "Return the GRUB background image defined in CONFIG or #f if none was found.