From 087efec496b91e3763be2e11e208d4a8f4ef3d43 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Mon, 8 May 2017 15:42:34 +0200 Subject: system: Remove circular dependency between (gnu system) and (gnu system grub). Followup to 8e815c5b6903a545c46b674c1cd1cc3180f835db. * gnu/system.scm: Remove (gnu system grub) import. (operating-system-bootcfg): Refer to (gnu system grub) within the procedure. --- gnu/system.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/system.scm b/gnu/system.scm index 748e3f7e9a..baba0b5dfc 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -48,7 +48,6 @@ #:use-module (gnu services) #:use-module (gnu services shepherd) #:use-module (gnu services base) - #:use-module (gnu system grub) #:use-module (gnu system shadow) #:use-module (gnu system nss) #:use-module (gnu system locale) @@ -848,7 +847,7 @@ populate the \"old entries\" menu." (uuid->string (file-system-device root-fs)) (file-system-device root-fs))) (entry (operating-system-boot-parameters os system root-device))) - (grub-configuration-file (operating-system-bootloader os) + ((@@ (gnu system grub) grub-configuration-file) (operating-system-bootloader os) (list entry) #:old-entries old-entries))) -- cgit 1.4.1