guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit 90ed1ee1759d0c5b78a184440455e294b5a68b12
Author: Efraim Flashner <[email protected]>
AuthorDate: Thu Jun 11 14:06:44 2026 +0300
gnu: go-golang-org-x-sys-for-esbuild: Fix building with gccgo.
* gnu/packages/golang-build.scm (go-golang-org-x-sys-for-esbuild)
[arguments]: Adjust the test flags to skip some tests when building with
gccgo.
Relates-to: guix/guix!9239
Change-Id: I06722fbf0858739550a0301d11bc7343c8a32345
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/golang-build.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index e12ff90aab..021948b5cf 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -1248,6 +1248,8 @@ low-level interaction with the operating system.")
((or (target-arm32?)
(target-riscv64?))
'("-skip" "TestSockaddrALG"))
+ ((not (supported-package? go))
+ '("-run" "Test[^PktInfo]"))
(#t '())))
#:import-path "golang.org/x/sys")))))