summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2026-03-19 10:32:43 +0000
committerChristopher Baines <mail@cbaines.net>2026-03-21 10:38:18 +0000
commit2027e83c4bcf837fddd7ba01a6cd2e8c594602d4 (patch)
tree58d16f6234be6dd4410c2158bd6352753af98272
parent15cd6eb94ce50a55116cec2071fc4f2ab3367b8c (diff)
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
-rw-r--r--guix/build-system/go.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/build-system/go.scm b/guix/build-system/go.scm
index 33a6b081e35..45e51450ce0 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)))