[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: make-openbios-package: Enable setting configure-flags.
From: |
guix-commits |
Subject: |
01/03: gnu: make-openbios-package: Enable setting configure-flags. |
Date: |
Thu, 9 Mar 2023 08:11:44 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 7b1dd1e9eae20d7df5f1bcde6f7bb4906fc7ef9f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 8 16:08:06 2023 +0200
gnu: make-openbios-package: Enable setting configure-flags.
* gnu/packages/firmware.scm (make-openbios-package)[arguments]: Adjust
custom 'configure phase to apply configure-flags.
---
gnu/packages/firmware.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index a876aa727a..873ad02ae1 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -422,8 +422,9 @@ utilites used to process FCODE, OpenFirmware's byte code,
consisting of:
(("TZ=UTC date \\+")
"TZ=UTC date --date=@1 +"))))
(replace 'configure
- (lambda _
- (invoke "./config/scripts/switch-arch" #$arch)))
+ (lambda* (#:key (configure-flags #~'()) #:allow-other-keys)
+ (apply invoke "./config/scripts/switch-arch" #$arch
+ configure-flags)))
(replace 'install
(lambda _
(let ((build-target