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
This commit is contained in:
Efraim Flashner 2025-01-24 10:36:16 +02:00
parent 2bc34aca3c
commit 1b1b304011
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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.