mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
guix system: Fix type error in 'reconfigure'.
Partly fixes <http://bugs.gnu.org/18082>. Reported by Mark H Weaver <mhw@netris.org>. * guix/scripts/system.scm (perform-action) <reconfigure>: Pass the output file name of GRUB.CFG to 'install-grub'.
This commit is contained in:
parent
742160428e
commit
b6debdaa22
1 changed files with 2 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue