diff options
Diffstat (limited to 'gnu/bootloader.scm')
| -rw-r--r-- | gnu/bootloader.scm | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/bootloader.scm b/gnu/bootloader.scm index 5ed72662fc3..e201d1969b0 100644 --- a/gnu/bootloader.scm +++ b/gnu/bootloader.scm | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | ;;; Copyright © 2017 David Craven <david@craven.ch> | 2 | ;;; Copyright © 2017 David Craven <david@craven.ch> |
| 3 | ;;; Copyright © 2017, 2020, 2022 Mathieu Othacehe <othacehe@gnu.org> | 3 | ;;; Copyright © 2017, 2020, 2022 Mathieu Othacehe <othacehe@gnu.org> |
| 4 | ;;; Copyright © 2017 Leo Famulari <leo@famulari.name> | 4 | ;;; Copyright © 2017 Leo Famulari <leo@famulari.name> |
| 5 | ;;; Copyright © 2019, 2021, 2023 Ludovic Courtès <ludo@gnu.org> | 5 | ;;; Copyright © 2019, 2021, 2023, 2025 Ludovic Courtès <ludo@gnu.org> |
| 6 | ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 6 | ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> |
| 7 | ;;; Copyright © 2022 Josselin Poiret <dev@jpoiret.xyz> | 7 | ;;; Copyright © 2022 Josselin Poiret <dev@jpoiret.xyz> |
| 8 | ;;; Copyright © 2022 Reza Alizadeh Majd <r.majd@pantherx.org> | 8 | ;;; Copyright © 2022 Reza Alizadeh Majd <r.majd@pantherx.org> |
| @@ -26,7 +26,8 @@ | |||
| 26 | (define-module (gnu bootloader) | 26 | (define-module (gnu bootloader) |
| 27 | #:use-module (gnu system file-systems) | 27 | #:use-module (gnu system file-systems) |
| 28 | #:use-module (gnu system uuid) | 28 | #:use-module (gnu system uuid) |
| 29 | #:use-module (guix discovery) | 29 | #:autoload (guix discovery) (fold-module-public-variables) |
| 30 | #:autoload (guix describe) (modules-from-current-profile) | ||
| 30 | #:use-module (guix gexp) | 31 | #:use-module (guix gexp) |
| 31 | #:use-module (guix profiles) | 32 | #:use-module (guix profiles) |
| 32 | #:use-module (guix records) | 33 | #:use-module (guix records) |
| @@ -305,10 +306,8 @@ instead~%"))) | |||
| 305 | 306 | ||
| 306 | (define (bootloader-modules) | 307 | (define (bootloader-modules) |
| 307 | "Return the list of bootloader modules." | 308 | "Return the list of bootloader modules." |
| 308 | (all-modules (map (lambda (entry) | 309 | (modules-from-current-profile "gnu/bootloader" |
| 309 | `(,entry . "gnu/bootloader")) | 310 | #:warn warn-about-load-error)) |
| 310 | %load-path) | ||
| 311 | #:warn warn-about-load-error)) | ||
| 312 | 311 | ||
| 313 | (define %bootloaders | 312 | (define %bootloaders |
| 314 | ;; The list of publically-known bootloaders. | 313 | ;; The list of publically-known bootloaders. |
