diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-04-18 18:30:13 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-04-18 18:30:13 +0200 |
commit | 8c4b4b65624198261d6e583214da9aa7c5524290 (patch) | |
tree | 5950b2d9e7608d154109b69dc349d1ab2b3ab371 /gnu/system/grub.scm | |
parent | 40522a7e89bc169233ec724592c9439e8004f4ad (diff) | |
parent | f8818360d5c185543b4bd1ad1c3c3ad7191af0c4 (diff) | |
download | patches-8c4b4b65624198261d6e583214da9aa7c5524290.tar patches-8c4b4b65624198261d6e583214da9aa7c5524290.tar.gz |
Merge branch 'master' into staging
Diffstat (limited to 'gnu/system/grub.scm')
-rw-r--r-- | gnu/system/grub.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/system/grub.scm b/gnu/system/grub.scm index 4f9bde6a62..cde4b9e23a 100644 --- a/gnu/system/grub.scm +++ b/gnu/system/grub.scm @@ -26,6 +26,7 @@ #:use-module (guix gexp) #:use-module (guix download) #:use-module (gnu artwork) + #:use-module (gnu system) #:use-module (gnu system file-systems) #:autoload (gnu packages bootloaders) (grub) #:autoload (gnu packages compression) (gzip) @@ -275,7 +276,8 @@ code." <file-system> object. OLD-ENTRIES is taken to be a list of menu entries corresponding to old generations of the system." (define all-entries - (append entries (grub-configuration-menu-entries config))) + (append entries + (grub-configuration-menu-entries config))) (define entry->gexp (match-lambda @@ -298,9 +300,9 @@ corresponding to old generations of the system." #$initrd))))) (mlet %store-monad ((sugar (eye-candy config - (menu-entry-device (first entries)) + (menu-entry-device (first all-entries)) (menu-entry-device-mount-point - (first entries)) + (first all-entries)) #:system system #:port #~port))) (define builder |