From b6debdaa22931646fbbc116048732c6bcb37af3c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 23 Jul 2014 18:11:24 +0200 Subject: guix system: Fix type error in 'reconfigure'. Partly fixes . Reported by Mark H Weaver . * guix/scripts/system.scm (perform-action) : Pass the output file name of GRUB.CFG to 'install-grub'. --- guix/scripts/system.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'guix') diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index 57f42215ee..5737807d8b 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -299,7 +299,8 @@ (define* (perform-action action os (mlet %store-monad ((% (switch-to-system os))) (when grub? (unless (false-if-exception - (install-grub grub.cfg device "/")) + (install-grub (derivation->output-path grub.cfg) + device "/")) (leave (_ "failed to install GRUB on device '~a'~%") device))) (return #t))) -- cgit v1.2.3