mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-23 10:47:24 +01:00
gnu: make-openbios-package: Enable setting configure-flags.
* gnu/packages/firmware.scm (make-openbios-package)[arguments]: Adjust custom 'configure phase to apply configure-flags.
This commit is contained in:
parent
070c335a91
commit
7b1dd1e9ea
1 changed files with 3 additions and 2 deletions
|
@ -422,8 +422,9 @@ (define* (make-openbios-package name arch)
|
|||
(("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
|
||||
|
|
Loading…
Reference in a new issue