gnu: mig-boot0: Do not override phases.

The build phases of the mig package are needed also for mig-boot0, so instead
of overriding all arguments we should only override the configure flags.

* gnu/packages/commencement.scm (mig-boot0)[arguments]: Use
SUBSTITUTE-KEYWORD-ARGUMENTS to replace only the configure flags.

Change-Id: I8227baf9e7fabc86a8674fe694058245ce166d0f
This commit is contained in:
Ricardo Wurmus 2024-02-11 16:51:46 +01:00 committed by Ludovic Courtès
parent 74a46fbcb2
commit 58ccd11857
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -13,7 +13,7 @@
;;; Copyright © 2021 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2022, 2024 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2022, 2023 Ekaitz Zarraga <ekaitz@elenq.tech>
;;;
;;; This file is part of GNU Guix.
@ -2657,11 +2657,11 @@ (define mig-boot0
gnumach-headers-boot0))
(inputs (list flex-boot0 gnumach-headers-boot0))
(arguments
(list
#:configure-flags
#~(list (string-append "LDFLAGS=-Wl,-rpath="
#$(this-package-native-input "flex")
"/lib/")))))))
(substitute-keyword-arguments (package-arguments mig)
((#:configure-flags flags '())
#~(list (string-append "LDFLAGS=-Wl,-rpath="
#$(this-package-native-input "flex")
"/lib/"))))))))
(define hurd-headers-boot0
(with-boot0