aboutsummaryrefslogtreecommitdiff
path: root/gnu/bootloader
diff options
context:
space:
mode:
authorMiguel Ángel Arruga Vivas <rosen644835@gmail.com>2020-10-25 10:13:46 +0100
committerMiguel Ángel Arruga Vivas <rosen644835@gmail.com>2020-10-30 22:34:03 +0100
commit222a630e9e5aecc740476c64925ef78f961a6b91 (patch)
treefd03840da38a139b9ac52eb555408d852efee492 /gnu/bootloader
parentc69a1c27ee3f1966d1c4b83a87a4f93356a7bb81 (diff)
downloadguix-222a630e9e5aecc740476c64925ef78f961a6b91.tar
guix-222a630e9e5aecc740476c64925ef78f961a6b91.tar.gz
system: Fix dependency for grub.cfg generation.
* gnu/bootloader/grub.scm (eye-candy)[font-file]: Use the bootloader package provided with the configuration.
Diffstat (limited to 'gnu/bootloader')
-rw-r--r--gnu/bootloader/grub.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index f1479024e6..5508319d3b 100644
--- a/gnu/bootloader/grub.scm
+++ b/gnu/bootloader/grub.scm
@@ -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)