From 32a455ab2852c6ff015a2126953075c67a3371b9 Mon Sep 17 00:00:00 2001 Message-Id: <32a455ab2852c6ff015a2126953075c67a3371b9.1694806866.git.striness@tilde.club> In-Reply-To: <73b2dfe98591073104fd069622ede2acab0c7655.1694806866.git.striness@tilde.club> References: <73b2dfe98591073104fd069622ede2acab0c7655.1694806866.git.striness@tilde.club> From: Ulf Herrman Date: Fri, 15 Sep 2023 08:53:10 -0500 Subject: [PATCH 5/5] build-system: dub: add #:ld-gold-wrapper to private-keywords. This isn't an accepted keyword to dub-build, so it will currently cause an error if it is specified, which rather defeats the purpose of having it as an argument. Putting it in private-keywords will cause it to be stripped from the final bag arguments. * guix/build-system/dub.scm (lower): add #:ld-gold-wrapper to private-keywords. --- guix/build-system/dub.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/build-system/dub.scm b/guix/build-system/dub.scm index 1b9f21b052..b325357589 100644 --- a/guix/build-system/dub.scm +++ b/guix/build-system/dub.scm @@ -112,7 +112,8 @@ (define* (lower name "Return a bag for NAME." (define private-keywords - '(#:target #:ldc #:dub #:pkg-config #:inputs #:native-inputs #:outputs)) + '(#:target #:ldc #:dub #:pkg-config #:ld-gold-wrapper + #:inputs #:native-inputs #:outputs)) (and (not target) ;; TODO: support cross-compilation (bag -- 2.40.1