reconfigure: Use native bootloader package for running the installer.

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
This commit is contained in:
Janneke Nieuwenhuizen 2024-10-29 21:28:41 +01:00 committed by Jan (janneke) Nieuwenhuizen
parent 9cdcfb52ac
commit 4f94f07b1f
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -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