From 58ccd118573d56275ac4ca5b8239c9ace7e25a3a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 11 Feb 2024 16:51:46 +0100 Subject: [PATCH] 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 --- gnu/packages/commencement.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index fa07f86451..3d5f79e999 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -13,7 +13,7 @@ ;;; Copyright © 2021 Chris Marusich ;;; Copyright © 2021 Julien Lepiller ;;; Copyright © 2021 Pierre Langlois -;;; Copyright © 2022 Ricardo Wurmus +;;; Copyright © 2022, 2024 Ricardo Wurmus ;;; Copyright © 2022, 2023 Ekaitz Zarraga ;;; ;;; 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