aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-05-08 15:42:34 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2017-05-08 15:45:37 +0200
commit087efec496b91e3763be2e11e208d4a8f4ef3d43 (patch)
tree22e4febe0c3c433d47435caad3ec665256233114
parentf9f67fcb0f198e95cff5a14ad332bccc2ffc3221 (diff)
downloadguix-087efec496b91e3763be2e11e208d4a8f4ef3d43.tar.gz
guix-087efec496b91e3763be2e11e208d4a8f4ef3d43.zip
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.
-rw-r--r--gnu/system.scm3
1 files changed, 1 insertions, 2 deletions
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)))