From 2027e83c4bcf837fddd7ba01a6cd2e8c594602d4 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 19 Mar 2026 10:32:43 +0000 Subject: [PATCH] build-system: go: Call gexp->derivation with #:graft? #f. Like gnu-build, this is important as otherwise the builder script can end up using grafted outputs, which is wrong as grafting should happen after building. This addresses an issue with the go-github-com-quic-go-qpack package where the builder used the grafted specification-qifs, rather than the normal derivation/output. * guix/build-system/go.scm (go-build): Call gexp->derivation with #:graft? #f. Fixes: guix/guix#6820 Change-Id: I7e02ecc3b16d112cc00140653e0528f5d6681bac --- guix/build-system/go.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/build-system/go.scm b/guix/build-system/go.scm index 33a6b081e3..45e51450ce 100644 --- a/guix/build-system/go.scm +++ b/guix/build-system/go.scm @@ -249,6 +249,7 @@ commit hash and its date rather than a proper release tag." system #:graft? #f))) (gexp->derivation name builder #:system system + #:graft? #f #:substitutable? substitutable? #:guile-for-build guile)))