guix_mirror_bot pushed a commit to branch master
in repository guix.

commit bf08f884f6712514e53493df1da00bc90d459ed1
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Oct 29 14:32:37 2025 +0000

    gnu: go-modernc-org-libc: Enable tests.
    
    * gnu/packages/golang-xyz.scm (go-modernc-org-libc)[arguments] <tests?>:
    Enable them.
    [native-inputs]: Add go-golang-org-x-tools, go-modernc-org-ccgo-v4,
    go-modernc-org-fileutil, and go-modernc-org-goabi0.
    
    Change-Id: I05d13396bcba7a30b3ef4c51a00e2106dd92b927
---
 gnu/packages/golang-xyz.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 27bfcc863b..72edaaa5e3 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -24822,8 +24822,14 @@ recognizers) at run time.")
     (arguments
      (list
       #:import-path "modernc.org/libc"
-      ;; Tests require modernc.org/ccgo/v4/lib, which is not packaged yet
-      #:tests? #f))
+      ;; all_musl_test.go:479: FAIL err=exit status 1 out=go: modules disabled
+      ;; by GO111MODULE=off; see 'go help modules'
+      #:test-flags #~(list "-skip" "TestLibc")))
+    (native-inputs
+     (list go-golang-org-x-tools
+           go-modernc-org-ccgo-v4
+           go-modernc-org-fileutil
+           go-modernc-org-goabi0))
     (propagated-inputs
      (list go-github-com-dustin-go-humanize
            go-github-com-google-uuid

Reply via email to