system: Fix dependency for grub.cfg generation.

* gnu/bootloader/grub.scm (eye-candy)[font-file]: Use the bootloader
package provided with the configuration.
This commit is contained in:
Miguel Ángel Arruga Vivas 2020-10-25 10:13:46 +01:00
parent c69a1c27ee
commit 222a630e9e
No known key found for this signature in database
GPG Key ID: 634C6E8979FABEC2
1 changed files with 5 additions and 3 deletions

View File

@ -171,9 +171,11 @@ fi~%"
(symbol->string (assoc-ref colors 'bg)))))
(define font-file
(normalize-file (file-append grub "/share/grub/unicode.pf2")
store-mount-point
store-directory-prefix))
(let* ((bootloader (bootloader-configuration-bootloader config))
(grub (bootloader-package bootloader)))
(normalize-file (file-append grub "/share/grub/unicode.pf2")
store-mount-point
store-directory-prefix)))
(define image
(normalize-file (grub-background-image config)