[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: system: Fix dependency for grub.cfg generation.
From: |
guix-commits |
Subject: |
02/02: system: Fix dependency for grub.cfg generation. |
Date: |
Fri, 30 Oct 2020 17:37:59 -0400 (EDT) |
m1gu3l pushed a commit to branch master
in repository guix.
commit 222a630e9e5aecc740476c64925ef78f961a6b91
Author: Miguel Ángel Arruga Vivas <rosen644835@gmail.com>
AuthorDate: Sun Oct 25 10:13:46 2020 +0100
system: Fix dependency for grub.cfg generation.
* gnu/bootloader/grub.scm (eye-candy)[font-file]: Use the bootloader
package provided with the configuration.
---
gnu/bootloader/grub.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index f147902..5508319 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)