diff mbox series

[bug#73927,v4,02/18] reconfigure: Use native bootloader package for running the installer.

Message ID 8772fc6a589621f7a343ac7432ebc705cd8dfac6.1730296564.git.janneke@gnu.org
State New
Headers show
Series Installer support for (cross) installing the Hurd. | expand

Commit Message

Janneke Nieuwenhuizen Oct. 30, 2024, 2:30 p.m. UTC
This fixes running grub-install when using guix system init --target.

* guix/scripts/system/reconfigure.scm (install-bootloader): Use native package
when invoking install-bootloader-program.

Change-Id: I48d80a8dff866ada3625d827dd3036fb966eee9a
---
 guix/scripts/system/reconfigure.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/guix/scripts/system/reconfigure.scm b/guix/scripts/system/reconfigure.scm
index 604ba08fee..ddb561d28c 100644
--- a/guix/scripts/system/reconfigure.scm
+++ b/guix/scripts/system/reconfigure.scm
@@ -7,6 +7,7 @@ 
 ;;; Copyright © 2019 Christopher Baines <mail@cbaines.net>
 ;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.org>
 ;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -299,7 +300,7 @@  (define* (install-bootloader eval configuration bootcfg
     (eval #~(parameterize ((current-warning-port (%make-void-port "w")))
               (primitive-load #$(install-bootloader-program installer
                                                             disk-installer
-                                                            package
+                                                            #~#+package
                                                             bootcfg
                                                             bootcfg-file
                                                             devices