guix_mirror_bot pushed a commit to branch go-team
in repository guix.

commit bf2f88977a608b56d892253294e7da0a949f5c30
Author: Ethan Blanton <[email protected]>
AuthorDate: Sat Jan 3 22:51:25 2026 -0500

    gnu: Remove pin on go-1.23 by setting -vet=off in tests.
    
    This is a follow up commit 87661cea77be67d7fdfcc607ee3a621d005e909c: "Pin
    some golang packages to use go-1.23" wich adds "-vet=off" to test args
    so that make check works with go 1.24+.
    
    * gnu/packages/authentication.scm: (oauth2l)
    * gnu/packages/bioinformatics.scm: (go-github-com-biogo-store)
    * gnu/packages/containers.scm: (dive)
    * gnu/packages/databases.scm: (go-github-com-cockroachdb-pebble)
    * gnu/packages/education.scm: (exercism)
    
    * gnu/packages/file-systems.scm: (fscrypt, gocryptfs)
    
    * gnu/packages/golang-check.scm: (go-github-com-cheekybits-is,
    go-github-com-coder-quartz, go-github-com-data-dog-go-sqlmock,
    go-github-com-google-gofuzz, go-github-com-matryer-is,
    go-github-com-onsi-ginkgo, go-github-com-onsi-ginkgo-v2,
    go-github-com-onsi-gomega, go-github-com-otiai10-mint,
    go-github-com-smarty-assertions, go-github-com-smarty-gunit,
    go-github-com-warpfork-go-testmark, go-sigs-k8s-io-randfill)
    
    * gnu/packages/golang-crypto.scm: (go-github-com-99designs-keyring,
    go-github-com-blanu-dust, go-github-com-chmduquesne-rollinghash)
    
    * gnu/packages/golang-maths.scm: (go-github-com-montanaflynn-stats,
    go-gonum-org-v1-gonum)
    
    * gnu/packages/golang-vcs.scm: (go-github-com-jiangxin-goconfig)
    
    * gnu/packages/golang-web.scm: (go-git-sr-ht-emersion-gqlclient,
    go-git-sr-ht-rockorager-go-jmap, go-github-com-apex-log,
    go-github-com-apex-log-bootstrap, go-github-com-cenkalti-backoff-v4,
    go-github-com-digitalocean-godo, go-github-com-donovanhide-eventsource,
    go-github-com-emersion-go-smtp, go-github-com-flosch-pongo2-v6,
    go-github-com-go-chi-chi-v5, go-github-com-go-jose-go-jose-v3,
    go-github-com-go-openapi-errors, go-github-com-go-openapi-runtime,
    go-github-com-go-openapi-validate, go-github-com-gobwas-httphead,
    go-github-com-goccy-go-json, go-github-com-gogo-protobuf,
    go-github-com-google-safehtml, go-github-com-jcmturner-gokrb5-v8,
    go-github-com-jhillyerd-enmime, go-github-com-jlaffaye-ftp,
    go-github-com-jmespath-go-jmespath, go-github-com-json-iterator-go,
    go-github-com-labbsr0x-goh,
    go-github-com-makeworld-the-better-one-go-gemini,
    go-github-com-ovn-kubernetes-libovsdb, go-github-com-pascaldekloe-goe,
    go-github-com-perimeterx-marshmallow, go-github-com-pion-stun,
    go-github-com-pion-stun-v2, go-github-com-pion-stun-v3,
    go-github-com-rcrowley-go-metrics, go-github-com-swaggo-swag,
    go-github-com-urfave-negroni, go-github-com-urfave-negroni-v3,
    go-github-com-xeipuuv-gojsonschema, go-maunium-net-go-mautrix)
    
    * gnu/packages/golang-xyz.scm: (go-github-com-d5-tengo-v2,
    go-github-com-godbus-dbus, go-github-com-hashicorp-hcl-v2,
    go-github-com-itchyny-go-flags, go-github-com-jedib0t-go-pretty-v6,
    go-github-com-jessevdk-go-flags, go-github-com-mattn-go-shellwords,
    go-github-com-moby-sys-mountinfo, go-github-com-nlpodyssey-spago,
    go-github-com-pingcap-errors, go-github-com-pmezard-go-difflib,
    go-github-com-russross-blackfriday-v2, go-go-mongodb-org-mongo-driver,
    go-go4-org, go-k8s-io-klog-v2, go-sigs-k8s-io-kustomize-kyaml,
    go-zgo-at-zstd)
    
    * gnu/packages/irc.scm: (soju)
    * gnu/packages/password-utils.scm: (aws-vault)
    * gnu/packages/text-editors.scm: (micro)
    * gnu/packages/version-control.scm: (hut)
    * gnu/packages/video.scm: (ytarchive)
    * gnu/packages/web-browsers.scm: (bombadillo)
    * gnu/packages/web.scm: (webhook)
    
    Change-Id: If7ffae01869404796467f8deed29a03e7a7020d7
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/authentication.scm  |   5 +-
 gnu/packages/bioinformatics.scm  |   4 +-
 gnu/packages/containers.scm      |   4 +-
 gnu/packages/databases.scm       |   4 +-
 gnu/packages/education.scm       |   4 +-
 gnu/packages/file-systems.scm    |  10 +--
 gnu/packages/golang-check.scm    |  52 +++++++-------
 gnu/packages/golang-crypto.scm   |  12 ++--
 gnu/packages/golang-maths.scm    |  10 +--
 gnu/packages/golang-vcs.scm      |   4 +-
 gnu/packages/golang-web.scm      | 150 +++++++++++++++++++--------------------
 gnu/packages/golang-xyz.scm      |  69 +++++++++---------
 gnu/packages/irc.scm             |   4 +-
 gnu/packages/password-utils.scm  |   4 +-
 gnu/packages/text-editors.scm    |   4 +-
 gnu/packages/version-control.scm |   4 +-
 gnu/packages/video.scm           |   4 +-
 gnu/packages/web-browsers.scm    |   4 +-
 gnu/packages/web.scm             |   5 +-
 19 files changed, 182 insertions(+), 175 deletions(-)

diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.scm
index c7f7d81973..6e113bc91e 100644
--- a/gnu/packages/authentication.scm
+++ b/gnu/packages/authentication.scm
@@ -143,7 +143,6 @@ PSKC (RFC6030) to manage secret key data.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:install-source? #f
       #:import-path "github.com/google/oauth2l"
       #:test-flags
@@ -161,7 +160,9 @@ PSKC (RFC6030) to manage secret key data.")
                      "TestServiceAccountImpersonationFlow/fetch._sso.*"
                      "TestStsFlow/fetch._2lo._sts"
                      "TestStsFlow/fetch._sso._sts")
-               "|"))
+               "|")
+              ;; go 1.24 runs -vet by default, but oauth2l isn't ready
+              "-vet=off")
       #:phases
       #~(modify-phases %standard-phases
           (add-before 'check 'pre-check
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 9a9bf063fe..0cc7fd94b4 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -25298,9 +25298,9 @@ functions.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:skip-build? #t
-      #:import-path "github.com/biogo/store"))
+      #:import-path "github.com/biogo/store"
+      #:test-flags #~(list "-vet=off")))
     (propagated-inputs
      (list go-gopkg-in-check-v1
            go-github-com-kr-pretty))
diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
index d70c724fbc..aea66158ed 100644
--- a/gnu/packages/containers.scm
+++ b/gnu/packages/containers.scm
@@ -255,11 +255,11 @@ containers highly integrated with the hosts.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:install-source? #f
       #:build-flags
       #~(list (string-append "-ldflags=-X main.version=" #$version))
-      #:import-path "github.com/wagoodman/dive"))
+      #:import-path "github.com/wagoodman/dive"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-awesome-gocui-gocui
            go-github-com-awesome-gocui-keybinding
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 57da1dbf76..b47eb87f62 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -472,11 +472,11 @@ database later.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:build-flags #~(list "-tags" "external_libzstd")
       #:test-flags #~(list "-tags" "external_libzstd"
                            ;; Skip tests requiring git in PATH.
-                           "-skip" "TestLint")
+                           "-skip" "TestLint"
+                           "-vet=off")
       ;; XXX: Maybe run more tests if possible.
       #:test-subdirs #~(list "internal/...")
       #:import-path "github.com/cockroachdb/pebble"))
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 5a7f3076f3..6e31c6950b 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -718,7 +718,6 @@ machine, and more.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:install-source? #f
       #:import-path "github.com/exercism/cli/exercism"
       #:unpack-path "github.com/exercism/cli"
@@ -756,7 +755,8 @@ machine, and more.")
                 (mkdir-p (dirname zsh))
                 (with-output-to-file zsh
                   (lambda ()
-                    (invoke exercism "completion" "zsh")))))))))
+                    (invoke exercism "completion" "zsh")))))))
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-blang-semver
            go-github-com-spf13-cobra
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 1713c4a03a..5814bc6583 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -481,7 +481,6 @@ is corrupted you'll lose the affected file(s) but not the 
whole back-up.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/google/fscrypt"
       #:install-source? #f
       #:test-flags
@@ -492,7 +491,9 @@ is corrupted you'll lose the affected file(s) but not the 
whole back-up.")
                             "TestLoadReadOnlyMount"
                             "TestReadWriteMountIsPreferredOverReadOnlyMount"
                             "TestLoadAmbiguousMounts"
-                            "TestRootSubtreeIsPreferred") "|"))
+                            "TestRootSubtreeIsPreferred") "|")
+              ;; Disable go vet in go 1.24+
+              "-vet=off")
       #:phases
       #~(modify-phases %standard-phases
           (add-before 'build 'fix-version-detection
@@ -625,7 +626,6 @@ significantly increases the risk of irreversible data 
loss!")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:install-source? #f
       #:import-path "github.com/rfjakob/gocryptfs"
       #:build-flags
@@ -640,7 +640,9 @@ significantly increases the risk of irreversible data 
loss!")
                        (list "TestPrepareAtSyscall"
                              "TestPrepareAtSyscallPlaintextnames"
                              "TestGetdents")
-                       "|"))
+                       "|")
+              ;; disable go vet for go 1.24+
+              "-vet=off")
       ;; XXX: Test suit requires a root access to mount, limit to some unit
       ;; tests, figure out how to enable most of the them.
       #:test-subdirs #~(list "internal/...")
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index cab6da0681..7f3973f3dc 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -472,8 +472,8 @@ test (using testing.TB's @code{TempDir}) and with a few 
helper methods.")
       (build-system go-build-system)
       (arguments
        (list
-        #:go go-1.23
-        #:import-path "github.com/cheekybits/is"))
+        #:import-path "github.com/cheekybits/is"
+        #:test-flags #~(list "-vet=off")))
       (home-page "https://github.com/cheekybits/is";)
       (synopsis "Mini testing helper for Go")
       (description "A mini testing helper for Go.
@@ -563,8 +563,8 @@ writing and reading these tests.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/coder/quartz"))
+      #:import-path "github.com/coder/quartz"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/coder/quartz";)
     (synopsis "Golang time testing library for writing deterministic unit 
tests")
     (description
@@ -616,14 +616,14 @@ strings which may be used in mock tests.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/DATA-DOG/go-sqlmock"
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'remove-examples
             (lambda* (#:key tests? import-path #:allow-other-keys)
               (with-directory-excursion (string-append "src/" import-path)
-                (delete-file-recursively "examples")))))))
+                (delete-file-recursively "examples")))))
+      #:test-flags #~(list "-vet=off")))
     (propagated-inputs
      (list go-github-com-kisielk-sqlstruct))
     (home-page "https://github.com/DATA-DOG/go-sqlmock";)
@@ -1249,10 +1249,10 @@ package, but can be used in other contexts too.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/google/gofuzz"
       ;; Tests fail on 32bit
-      #:tests? (target-64bit?)))
+      #:tests? (target-64bit?)
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/google/gofuzz";)
     (synopsis "Fuzz testing library for Go")
     (description
@@ -1990,8 +1990,8 @@ output capturing, mocking, and much more.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/matryer/is"))
+      #:import-path "github.com/matryer/is"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/matryer/is";)
     (synopsis "Lightweight testing mini-framework for Golang")
     (description
@@ -2133,9 +2133,9 @@ error messages, preserving the order of @code{have} 
(actual result) before
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/onsi/ginkgo"
-      #:test-flags #~(list "-skip" "TestIntegration")))
+      #:test-flags #~(list "-skip" "TestIntegration"
+                           "-vet=off")))
     (propagated-inputs
      (list go-github-com-go-task-slim-sprig
            go-github-com-nxadm-tail
@@ -2166,12 +2166,12 @@ Gomega matcher library.")
         (base32 "01rmm0lx29bwl973qixx6avwa8m6yc1vkara52cbl0jxxwf1jf3d"))))
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/onsi/ginkgo/v2"
       #:test-subdirs
       ;; XXX: Most of the tests hang, find out why, keeping bare minimal
       ;; amount.
-      #~(list "dsl/..." "extensions/globals" ".")))
+      #~(list "dsl/..." "extensions/globals" ".")
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-go-uber-org-automaxprocs)) ; for the CLI
     (propagated-inputs
@@ -2212,14 +2212,14 @@ Gomega matcher library.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/onsi/gomega"
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'remove-failing-test-files
             (lambda* (#:key import-path #:allow-other-keys)
               (with-directory-excursion (string-append "src/" import-path)
-              (delete-file "gexec/build_test.go")))))))
+              (delete-file "gexec/build_test.go")))))
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-onsi-ginkgo-v2-bootstrap))
     (propagated-inputs
@@ -2252,8 +2252,8 @@ framework.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/otiai10/mint"))
+      #:import-path "github.com/otiai10/mint"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/otiai10/mint";)
     (synopsis "Minimal assertion for Golang testing framework")
     (description
@@ -2467,8 +2467,8 @@ GIT_TRACE mechanism.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/smarty/assertions"))
+      #:import-path "github.com/smarty/assertions"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/smarty/assertions";)
     (synopsis "Fluent assertion-style functions")
     (description
@@ -2496,8 +2496,8 @@ functions and even in applications.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/smarty/gunit"))
+      #:import-path "github.com/smarty/gunit"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/smarty/gunit";)
     (synopsis "Golang xUnit-style test fixture test adapter")
     (description
@@ -2816,8 +2816,8 @@ customization
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/warpfork/go-testmark"))
+      #:import-path "github.com/warpfork/go-testmark"
+      #:test-flags #~(list "-vet=off")))
     (propagated-inputs
      (list go-github-com-warpfork-go-fsx))
     (home-page "https://github.com/warpfork/go-testmark";)
@@ -3553,8 +3553,8 @@ thoroughly
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "sigs.k8s.io/randfill"))
+      #:import-path "sigs.k8s.io/randfill"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://sigs.k8s.io/randfill";)
     (synopsis "Fuzz testing for Golang")
     (description
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 5f51b23ca1..3c0239e003 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -218,7 +218,6 @@ primitives.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/99designs/keyring"
       #:test-flags
       #~(list "-skip" (string-join
@@ -228,7 +227,8 @@ primitives.")
                              "TestLibSecretGetWhenNotEmpty"
                              "TestLibSecretRemoveWhenEmpty"
                              "TestLibSecretRemoveWhenNotEmpty")
-                       "|"))))
+                       "|")
+              "-vet=off")))
     (native-inputs
      (list gnupg go-github-com-stretchr-testify password-store))
     (propagated-inputs
@@ -366,9 +366,9 @@ with its management port enabled.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:skip-build? #t
-      #:import-path "github.com/blanu/Dust"))
+      #:import-path "github.com/blanu/Dust"
+      #:test-flags #~(list "-vet=off")))
     (propagated-inputs
      (list go-github-com-operatorfoundation-ed25519
            go-github-com-op-go-logging
@@ -547,8 +547,8 @@ described at @url{https://xxhash.com/}.";)
       (build-system go-build-system)
       (arguments
        (list
-        #:go go-1.23
-        #:import-path "github.com/chmduquesne/rollinghash/"))
+        #:import-path "github.com/chmduquesne/rollinghash/"
+        #:test-flags #~(list "-vet=off")))
       (propagated-inputs
        (list go-code-cloudfoundry-org-bytefmt))
       (home-page "https://github.com/chmduquesne/rollinghash";)
diff --git a/gnu/packages/golang-maths.scm b/gnu/packages/golang-maths.scm
index 831af6cc6b..207d9cd694 100644
--- a/gnu/packages/golang-maths.scm
+++ b/gnu/packages/golang-maths.scm
@@ -386,14 +386,16 @@ penalization.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/montanaflynn/stats"
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'remove-examples
             (lambda* (#:key tests? import-path #:allow-other-keys)
               (with-directory-excursion (string-append "src/" import-path)
-                (delete-file-recursively "examples")))))))
+                (delete-file-recursively "examples")))))
+      #:test-flags
+      ;; disable go vet in go 1.24+
+      #~(list "-vet=off")))
     (home-page "https://github.com/montanaflynn/stats";)
     (synopsis "Statistics library for Golang")
     (description
@@ -498,7 +500,6 @@ format as binary16.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "gonum.org/v1/gonum"
       #:test-subdirs
       #~(list "."
@@ -521,7 +522,8 @@ format as binary16.")
                      '("spatial/...")
                      '())
               "stat/..."
-              "uniti/...")))
+              "uniti/...")
+      #:test-flags #~(list "-vet=off")))
     (propagated-inputs
      (list go-github-com-goccmack-gocc
            go-github-com-google-go-cmp
diff --git a/gnu/packages/golang-vcs.scm b/gnu/packages/golang-vcs.scm
index 41e9cb39df..1f1d2250e6 100644
--- a/gnu/packages/golang-vcs.scm
+++ b/gnu/packages/golang-vcs.scm
@@ -281,8 +281,8 @@ using the Git pkt-line format used in various Git 
operations.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/jiangxin/goconfig"))
+      #:import-path "github.com/jiangxin/goconfig"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list git-minimal/pinned
            go-github-com-jiu2015-gotestspace
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index adb22e2cbb..a0dfbcca80 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -652,9 +652,9 @@ Gemini clients and servers.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:embed-files #~(list "prelude.graphql")
-      #:import-path "git.sr.ht/~emersion/gqlclient"))
+      #:import-path "git.sr.ht/~emersion/gqlclient"
+      #:test-flags #~(list "-vet=off")))
     ;; For the CLI.
     (native-inputs
      (list go-github-com-dave-jennifer
@@ -681,8 +681,8 @@ Gemini clients and servers.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "git.sr.ht/~rockorager/go-jmap"))
+      #:import-path "git.sr.ht/~rockorager/go-jmap"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list
       go-github-com-stretchr-testify))
@@ -1061,8 +1061,8 @@ particular test phases or milestones have been reached. 
It is part of the
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/apex/log"))
+      #:import-path "github.com/apex/log"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-tj-assert
            go-github-com-stretchr-testify))
@@ -1092,9 +1092,9 @@ require encoding and decoding before fanning-out to 
handlers.")
   (hidden-package
    (package/inherit go-github-com-apex-log
      (arguments
-      (list #:go go-1.23
-            #:import-path "github.com/apex/log"
-            #:test-subdirs #~(list ".")))
+      (list #:import-path "github.com/apex/log"
+            #:test-subdirs #~(list ".")
+            #:test-flags #~(list "-vet=off")))
      (propagated-inputs
       (list go-github-com-fatih-color
             go-github-com-pkg-errors)))))
@@ -2578,8 +2578,8 @@ and RFC 5389).")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/cenkalti/backoff/v4"))
+      #:import-path "github.com/cenkalti/backoff/v4"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/cenkalti/backoff";)
     (synopsis "The exponential backoff algorithm in Go")
     (description
@@ -3804,7 +3804,6 @@ Data Representation (XDR) standard protocol as specified 
in RFC
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/digitalocean/godo"
       #:test-flags
       #~(list "-skip" (string-join
@@ -3817,7 +3816,8 @@ Data Representation (XDR) standard protocol as specified 
in RFC
                              "TestRegistry_DeleteTag"
                              "TestRegistry_ListManifests"
                              "TestRepository_ListTags")
-                       "|"))))
+                       "|")
+              "-vet=off")))
     (native-inputs
      (list go-github-com-stretchr-testify))
     (propagated-inputs
@@ -3926,8 +3926,8 @@ translation (NAT), proxies, sockets, and transport layer 
security (TLS).")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/donovanhide/eventsource"))
+      #:import-path "github.com/donovanhide/eventsource"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/donovanhide/eventsource";)
     (synopsis "Server Side Events client and server for Golang")
     (description
@@ -4403,8 +4403,8 @@ for Go.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/emersion/go-smtp"))
+      #:import-path "github.com/emersion/go-smtp"
+      #:test-flags #~(list "-vet=off")))
     (propagated-inputs
      (list go-github-com-emersion-go-sasl))
     (home-page "https://github.com/emersion/go-smtp";)
@@ -4756,8 +4756,8 @@ Files.com from applications written in Go.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/flosch/pongo2/v6"))
+      #:import-path "github.com/flosch/pongo2/v6"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-gopkg-in-check-v1))
     (home-page "https://github.com/flosch/pongo2";)
@@ -5066,8 +5066,8 @@ Features:
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/go-chi/chi/v5"))
+      #:import-path "github.com/go-chi/chi/v5"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/go-chi/chi";)
     (synopsis "Composable router for HTTP services written in Go")
     (description
@@ -5162,8 +5162,8 @@ Signature headers are to be set (but not both).")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/go-jose/go-jose/v3"))
+      #:import-path "github.com/go-jose/go-jose/v3"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-google-go-cmp
            go-github-com-stretchr-testify))
@@ -5309,8 +5309,8 @@ about the content.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/go-openapi/errors"))
+      #:import-path "github.com/go-openapi/errors"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-stretchr-testify))
     (home-page "https://github.com/go-openapi/errors";)
@@ -5426,9 +5426,9 @@ Supports JSON and YAML documents.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:embed-files #~(list "jsonschema-draft-04\\.json" "schema\\.json")
-      #:import-path "github.com/go-openapi/runtime"))
+      #:import-path "github.com/go-openapi/runtime"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-stretchr-testify))
     (propagated-inputs
@@ -5563,7 +5563,6 @@ projects.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:embed-files #~(list "jsonschema-draft-04\\.json" "schema\\.json")
       #:import-path "github.com/go-openapi/validate"
       #:phases
@@ -5575,7 +5574,8 @@ projects.")
                 (for-each delete-file
                           (list "benchmark_test.go"
                                 "example_validator_test.go"
-                                "doc_test.go"))))))))
+                                "doc_test.go"))))))
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-stretchr-testify))
     (propagated-inputs
@@ -5748,8 +5748,8 @@ from CloudFlare's github.com/cloudflare/cfssl/revoke.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/gobwas/httphead"))
+      #:import-path "github.com/gobwas/httphead"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/gobwas/httphead";)
     (synopsis "Tiny HTTP header value parsing library in Golang")
     (description
@@ -5803,8 +5803,8 @@ protocol as specified in 
@url{https://rfc-editor.org/rfc/rfc6455.html, RFC
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/goccy/go-json"))
+      #:import-path "github.com/goccy/go-json"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/goccy/go-json";)
     (synopsis "JSON encoder/decoder in Go")
     (description
@@ -5897,7 +5897,6 @@ APIs.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:skip-build? #t
       #:import-path "github.com/gogo/protobuf"
       ;; protoc: exec: "protoc-min-version": executable file not found in $PATH
@@ -5913,7 +5912,8 @@ APIs.")
                      "TestRepeatedEmbed"
                      "TestStdTypesGoString"
                      "TestTakesTooLongToDebug")
-               "|"))))
+               "|")
+              "-vet=off")))
     (home-page "https://github.com/gogo/protobuf";)
     (synopsis "Protocol Buffers for Go with Gadgets")
     (description "Gogoprotobuf is a fork of golang/protobuf with extra code
@@ -6288,8 +6288,8 @@ iptables successor).  It does not rely on libnftnl 
wrappers.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/google/safehtml"))
+      #:import-path "github.com/google/safehtml"
+      #:test-flags #~(list "-vet=off")))
     (propagated-inputs
      (list go-golang-org-x-text))
     (home-page "https://github.com/google/safehtml";)
@@ -7615,9 +7615,9 @@ authenticated identities and their attributes.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/jcmturner/gokrb5/v8"
-      #:unpack-path "github.com/jcmturner/gokrb5"))
+      #:unpack-path "github.com/jcmturner/gokrb5"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-stretchr-testify))
     (propagated-inputs
@@ -7748,8 +7748,8 @@ about missing required fields, or when pattern validation 
does not match.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/jhillyerd/enmime"))
+      #:import-path "github.com/jhillyerd/enmime"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-go-test-deep
            go-github-com-stretchr-testify))
@@ -7800,8 +7800,8 @@ geared towards parsing MIME encoded emails.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/jlaffaye/ftp"))
+      #:import-path "github.com/jlaffaye/ftp"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-stretchr-testify))
     (propagated-inputs
@@ -7829,8 +7829,8 @@ described in 
@url{https://www.rfc-editor.org/rfc/rfc959,RFC 959}.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/jmespath/go-jmespath"))
+      #:import-path "github.com/jmespath/go-jmespath"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-davecgh-go-spew
            go-github-com-pmezard-go-difflib
@@ -7907,7 +7907,6 @@ controlled.  It is based on netlink messages.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/json-iterator/go"
       #:test-flags
       #~(list "-skip" (string-join
@@ -7915,7 +7914,8 @@ controlled.  It is based on netlink messages.")
                              "Test_marshal/.57._/string"
                              "Test_string_encode_with_std_without_html_escape"
                              "Test_symmetric/map.test.stringKeyType.string")
-                       "|"))))
+                       "|")
+              "-vet=off")))
     (native-inputs
      (list go-github-com-davecgh-go-spew
            go-github-com-google-gofuzz
@@ -8224,9 +8224,9 @@ protocol in Go language.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:skip-build? #t
-      #:import-path "github.com/labbsr0x/goh"))
+      #:import-path "github.com/labbsr0x/goh"
+      #:test-flags #~(list "-vet=off")))
     (propagated-inputs
      (list go-github-com-go-cmd-cmd
            go-github-com-go-errors-errors
@@ -9177,8 +9177,8 @@ fixed.")
            go-golang-org-x-text))
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/makeworld-the-better-one/go-gemini"))
+      #:import-path "github.com/makeworld-the-better-one/go-gemini"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/makew0rld/go-gemini";)
     (synopsis "Client/server library for the Gemini protocol, in Go")
     (description
@@ -10931,7 +10931,6 @@ Border Gateway Protocol}} implementation.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:skip-build? #t
       #:import-path "github.com/ovn-kubernetes/libovsdb"
       #:test-flags
@@ -10961,7 +10960,8 @@ Border Gateway Protocol}} implementation.")
                                   "TestWaitOpNotEquals"
                                   "Test_merge")
                                #~()))
-                       "|"))
+                       "|")
+              "-vet=off")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'remove-examples
@@ -11105,9 +11105,9 @@ It is part of the Sigstore project for software supply 
chain security.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:skip-build? #t
-      #:import-path "github.com/pascaldekloe/goe"))
+      #:import-path "github.com/pascaldekloe/goe"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/pascaldekloe/goe";)
     (synopsis "Enterprise tooling for Golang")
     (description
@@ -11159,8 +11159,8 @@ API.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/perimeterx/marshmallow"))
+      #:import-path "github.com/perimeterx/marshmallow"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-go-test-deep))
     (propagated-inputs
@@ -11715,8 +11715,8 @@ Protocol,SCTP} as specified in
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/pion/stun"))
+      #:import-path "github.com/pion/stun"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-stretchr-testify))
     (propagated-inputs
@@ -11750,8 +11750,8 @@ Protocol,SCTP} as specified in
         (base32 "0zli55ls5izpr6cw0wj0gy44872xn9rk20i8ay9cfk7j2rb60y60"))))
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/pion/stun/v2"))
+      #:import-path "github.com/pion/stun/v2"
+      #:test-flags #~(list "-vet=off")))
     (propagated-inputs
      (list go-github-com-pion-dtls-v2
            go-github-com-pion-logging
@@ -11775,8 +11775,8 @@ Protocol,SCTP} as specified in
         (base32 "0yavl76y0fida9f1jfdmzdg7rm5jhp6kvdgn3smsf93jad1vbr2x"))))
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/pion/stun/v3"))
+      #:import-path "github.com/pion/stun/v3"
+      #:test-flags #~(list "-vet=off")))
     (propagated-inputs
      (list go-github-com-pion-dtls-v3
            go-github-com-pion-logging
@@ -12728,7 +12728,6 @@ RFC 1014) in Go.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/rcrowley/go-metrics"
       #:test-flags
       ;; Arbitrary precision tests are known to be broken on aarch64, ppc64le
@@ -12740,7 +12739,8 @@ RFC 1014) in Go.")
                                       "TestUniformSampleSnapshot"
                                       "TestUniformSampleStatistics")
                                 "|"))
-                     '()))))
+                     '())
+              "-vet=off")))
     (propagated-inputs
      (list go-github-com-stathat-go))
     (home-page "https://github.com/rcrowley/go-metrics";)
@@ -13525,7 +13525,6 @@ StatHat} account.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/swaggo/swag"
       #:unpack-path "github.com/swaggo/swag"
       #:embed-files
@@ -13539,7 +13538,8 @@ StatHat} account.")
          "schema\\.json")
       #:test-flags
       #~(list "-skip" (string-append "TestParseGoList/enableGOMODULE"
-                                     "|TestParseDescriptionMarkdown"))
+                                     "|TestParseDescriptionMarkdown")
+              "-vet=off")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'remove-examples
@@ -14116,8 +14116,8 @@ files to XML generation (for example, 
@code{gin.Context} or
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/urfave/negroni"))
+      #:import-path "github.com/urfave/negroni"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/urfave/negroni";)
     (synopsis "Idiomatic HTTP Middleware for Golang")
     (description
@@ -14142,8 +14142,8 @@ tiny,non-intrusive, and encourages use of 
@code{net/http} Handlers.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/urfave/negroni/v3"))))
+      #:import-path "github.com/urfave/negroni/v3"
+      #:test-flags #~(list "-vet=off")))))
 
 (define-public go-github-com-valyala-fasthttp
   (package
@@ -14672,11 +14672,11 @@ programming language.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       ;; validation of time strings.  only RFC3339 not all of ISO 8601 are
       ;; valid.  expects: false, given true Schema: {"format":"time"} Data:
       ;; "01:01:01,1111"
-      #:test-flags #~(list "-skip" "TestFormats")
+      #:test-flags #~(list "-skip" "TestFormats"
+                           "-vet=off")
       #:import-path "github.com/xeipuuv/gojsonschema"))
     (native-inputs
      (list go-github-com-stretchr-testify))
@@ -16972,7 +16972,6 @@ the code or routes.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "maunium.net/go/mautrix"
       #:embed-files
       #~(list
@@ -16996,7 +16995,8 @@ the code or routes.")
                            "TestResolveServerName/RM_Step_4"
                            "TestResolveServerName/RM_Step_4_MSC4040"
                            "TestResolveServerName/maunium")
-                     "|"))))
+                     "|")
+            "-vet=off")))
     ;; XXX: The final application needs a "libolm" package.
     (native-inputs
      (list olm))
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index bf4adb37d1..c160941e1b 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6265,7 +6265,6 @@ structs in the Go programming language.")
     (arguments
      (list
       ;; See <https://github.com/d5/tengo/issues/466>.
-      #:go go-1.23
       #:import-path "github.com/d5/tengo/v2"
       #:phases
       #~(modify-phases %standard-phases
@@ -6274,7 +6273,8 @@ structs in the Go programming language.")
               (with-directory-excursion (string-append "src/" import-path)
                 (let* ((data (string-append #$output:doc "/share"))
                        (doc (string-append data "/doc/" #$name "-" #$version)))
-                  (copy-recursively "docs/" doc))))))))
+                  (copy-recursively "docs/" doc))))))
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/d5/tengo";)
     (synopsis "Script language for Go")
     (description
@@ -9905,7 +9905,6 @@ size.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/godbus/dbus"
       #:phases
       #~(modify-phases %standard-phases
@@ -9917,7 +9916,9 @@ size.")
                           "go" "test" "./..."
                           ;; Disable tests which require a system D-Bus
                           ;; instance.
-                          "-skip" "TestSystemBus|TestConnectSystemBus"))))))))
+                          "-skip" "TestSystemBus|TestConnectSystemBus"
+                          ;; Disable go vet
+                          "-vet=off"))))))))
     (native-inputs
      (list dbus)) ;dbus-launch
     (home-page "https://github.com/godbus/dbus/";)
@@ -11389,7 +11390,6 @@ expressing configuration which is easy for both humans 
and machines to read.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/hashicorp/hcl/v2"
       #:test-flags
       #~(list "-skip"
@@ -11397,7 +11397,8 @@ expressing configuration which is easy for both humans 
and machines to read.")
                (list "TestExpressionParseAndValue/.*unk.*"
                      "TestFunctionCallExprValue/valid_call_with_unknown_arg.*"
                      "TestFunctionCallExprValue/valid_call_with_dynamic_arg")
-               "|"))))
+               "|")
+              "-vet=off")))
     (native-inputs
      (list go-github-com-davecgh-go-spew
            go-github-com-go-test-deep
@@ -11922,12 +11923,12 @@ better way of handling YAML when marshaling to and 
from structs.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/itchyny/go-flags"
       ;; Test is time dependent and not reproducible.
       ;; -.TH TestMan 1 "1 January 1970"
       ;;  +.TH TestMan 1 "26 June 2025"
-      #:test-flags #~(list "-skip" "TestMan")))
+      #:test-flags #~(list "-skip" "TestMan"
+                           "-vet=off")))
     (propagated-inputs
      (list go-golang-org-x-sys))
     (home-page "https://github.com/itchyny/go-flags";)
@@ -12866,9 +12867,9 @@ Golang.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:skip-build? #t
-      #:import-path "github.com/jedib0t/go-pretty/v6"))
+      #:import-path "github.com/jedib0t/go-pretty/v6"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-pkg-profile ; for the CLI
            go-github-com-stretchr-testify))
@@ -12926,9 +12927,9 @@ hierarchies of @code{map[string]interface{}} objects 
provided by the
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/jessevdk/go-flags"
-      #:test-flags #~(list "-skip" "TestCompletion|TestParserCompletion")))
+      #:test-flags #~(list "-skip" "TestCompletion|TestParserCompletion"
+                           "-vet=off")))
     (propagated-inputs
      (list go-golang-org-x-sys))
     (home-page "https://github.com/jessevdk/go-flags";)
@@ -15928,7 +15929,6 @@ string.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/mattn/go-shellwords"
       #:phases
       #~(modify-phases %standard-phases
@@ -15936,7 +15936,8 @@ string.")
             (lambda* (#:key import-path #:allow-other-keys)
               (substitute* (string-append
                             "src/" import-path "/util_posix.go")
-                (("/bin/sh") (which "sh"))))))))
+                (("/bin/sh") (which "sh"))))))
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/mattn/go-shellwords";)
     (synopsis "Parse lines into shell words")
     (description "This package parses text into shell arguments.  Based on
@@ -16883,14 +16884,14 @@ https://github.com/syndtr/gocapability.";)
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/moby/sys/mountinfo"
       #:unpack-path "github.com/moby/sys"
       #:test-flags
       #~(list "-skip" (string-join
                        (list "TestMountedBy/not_mounted_socket"
                              "TestMountedBy/socket_bind-mounted_to_itself")
-                       "|"))))
+                       "|")
+              "-vet=off")))
     (propagated-inputs (list go-golang-org-x-sys))
     (home-page "https://github.com/moby/sys";)
     (synopsis "Retrieve information about OS mounts")
@@ -18144,9 +18145,9 @@ pretty printed rendering in Golang.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:skip-build? #t
-      #:import-path "github.com/nlpodyssey/spago"))
+      #:import-path "github.com/nlpodyssey/spago"
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-stretchr-testify))
     (propagated-inputs
@@ -19818,7 +19819,6 @@ on top of the standard library @code{flag} package.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/pingcap/errors"
       #:test-flags
       #~(list "-skip" (string-join
@@ -19833,7 +19833,8 @@ on top of the standard library @code{flag} package.")
                              "TestFrameLine"
                              "TestStackTrace"
                              "TestStackTraceFormat")
-                       "|"))))
+                       "|")
+              "-vet=off")))
     (native-inputs
      (list go-github-com-pkg-errors))
     (home-page "https://github.com/pingcap/errors";)
@@ -19976,9 +19977,9 @@ 
https://en.wikipedia.org/wiki/Extended_file_attributes}.";)
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "github.com/pmezard/go-difflib/difflib"
-      #:unpack-path "github.com/pmezard/go-difflib/"))
+      #:unpack-path "github.com/pmezard/go-difflib/"
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://github.com/pmezard/go-difflib";)
     (synopsis "Go diff implementation")
     (description
@@ -20750,8 +20751,8 @@ logging.")
         (base32 "0d1rg1drrfmabilqjjayklsz5d0n3hkf979sr3wsrw92bfbkivs7"))))
     (arguments
      (list
-      #:go go-1.23
-      #:import-path "github.com/russross/blackfriday/v2"))))
+      #:import-path "github.com/russross/blackfriday/v2"
+      #:test-flags #~(list "-vet=off")))))
 
 (define-public go-github-com-rvflash-elapsed
   (package
@@ -26412,7 +26413,6 @@ written in YAML or JSON.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "go.mongodb.org/mongo-driver"
       #:test-flags
       #~(list "-skip"
@@ -26429,7 +26429,8 @@ written in YAML or JSON.")
                      "TestTimeCodec"
                      "TestTopologyConstructionLogging"
                      "TestURIOptionsSpec")
-               "|"))
+               "|")
+              "-vet=off")
       #:test-subdirs
       #~(list "bson/..." "event/..." "internal/..." "tag/..." "x/...")
       #:phases
@@ -26897,7 +26898,6 @@ organization}.")
       (build-system go-build-system)
       (arguments
        (list
-        #:go go-1.23
         #:skip-build? #t
         #:import-path "go4.org"
         #:test-subdirs
@@ -26933,7 +26933,8 @@ organization}.")
               (lambda* (#:key import-path #:allow-other-keys)
                 (with-directory-excursion (string-append "src/" import-path)
                   (for-each delete-file
-                            (find-files "." "example.*_test\\.go$"))))))))
+                            (find-files "." "example.*_test\\.go$"))))))
+        #:test-flags #~(list "-vet=off")))
       (propagated-inputs
        (list ;; go-cloud-google-com-go
              ;; go-cloud-google-com-go-storage
@@ -27779,7 +27780,6 @@ split out here for ease of reuse and maintainability.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "k8s.io/klog/v2"
       #:test-flags
       #~(list "-skip"
@@ -27789,7 +27789,8 @@ split out here for ease of reuse and maintainability.")
                      "TestDestinationsWithDifferentFlags/with_log_dir_only"
                      
"TestDestinationsWithDifferentFlags/with_log_dir_only_and_one_output"
                      
"TestDestinationsWithDifferentFlags/with_log_file_and_log_dir")
-               "|"))
+               "|")
+              "-vet=off")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'remove-examples
@@ -29005,14 +29006,14 @@ libraries.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "sigs.k8s.io/kustomize/kyaml"
       #:unpack-path "sigs.k8s.io/kustomize"
       #:test-flags
       #~(list "-skip" (string-join
                        (list 
"TestCommandResultsChecker_UpdateExpectedFromActual"
                              
"TestProcessorResultsChecker_UpdateExpectedFromActual")
-                       "|"))))
+                       "|")
+              "-vet=off")))
     (native-inputs
      (list go-github-com-stretchr-testify
            go-github-com-davecgh-go-spew))
@@ -29330,9 +29331,9 @@ helpful utility functions, and makes testing fairly 
easy.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "zgo.at/zstd"
-      #:test-flags #~(list "-skip" "TestExists/4")))
+      #:test-flags #~(list "-skip" "TestExists/4"
+                           "-vet=off")))
     (home-page "https://github.com/arp242/zstd";)
     (synopsis "Extensions to Go's standard library")
     (description
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 173bae37e3..abc8c3f5e3 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -1238,7 +1238,6 @@ seen, tell, and what.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:install-source? #f
       #:import-path "codeberg.org/emersion/soju"
       #:phases
@@ -1263,7 +1262,8 @@ seen, tell, and what.")
             (lambda* (#:key import-path #:allow-other-keys)
               (with-directory-excursion (string-append "src/" import-path)
                 (setenv "PREFIX" #$output)
-                (invoke "make" "install")))))))
+                (invoke "make" "install")))))
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-codeberg-org-emersion-go-scfg
            go-git-sr-ht-emersion-go-sqlite3-fts5
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 7fd4141460..a366e13913 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -157,7 +157,6 @@
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:install-source? #f
       #:import-path "github.com/99designs/aws-vault"
       #:build-flags
@@ -187,7 +186,8 @@
           ;; denied.
           (add-before 'check 'set-home
             (lambda _
-              (setenv "HOME" "/tmp"))))))
+              (setenv "HOME" "/tmp"))))
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-99designs-keyring
            go-github-com-alecthomas-kingpin-v2
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 6329161e85..8a52c47c0b 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -182,7 +182,6 @@ extensions over the standard utility.")
       (build-system go-build-system)
       (arguments
        (list
-        #:go go-1.23
         #:install-source? #f
         #:import-path "github.com/zyedidia/micro/v2/cmd/micro"
         #:unpack-path "github.com/zyedidia/micro/v2"
@@ -207,7 +206,8 @@ extensions over the standard utility.")
             (add-before 'build 'go-generate
               (lambda _
                 (invoke "go" "generate" "-v" "-x"
-                        "github.com/zyedidia/micro/v2/runtime"))))))
+                        "github.com/zyedidia/micro/v2/runtime"))))
+        #:test-flags #~(list "-vet=off")))
       (inputs (list go-github-com-blang-semver
                     go-github-com-dustin-go-humanize
                     go-github-com-go-errors-errors
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 6f28f35c5f..e51c50bf56 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -4684,7 +4684,6 @@ developer workflow, and project and release management.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "git.sr.ht/~xenrox/hut"
       #:phases
       #~(modify-phases %standard-phases
@@ -4698,7 +4697,8 @@ developer workflow, and project and release management.")
             (lambda* (#:key import-path #:allow-other-keys)
               (with-directory-excursion (string-append "src/" import-path)
                 (invoke "make" "install"
-                        (string-append "PREFIX=" #$output))))))))
+                        (string-append "PREFIX=" #$output))))))
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list scdoc))
     (inputs
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index b471c78c05..92dec0879a 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3510,7 +3510,6 @@ playlists.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:install-source? #f
       #:import-path "github.com/Kethsar/ytarchive"
       #:embed-files #~(list "children" "nodes" "text")
@@ -3521,7 +3520,8 @@ playlists.")
               (wrap-program (string-append #$output "/bin/ytarchive")
                 `("PATH" ":" prefix
                   (,(string-append #$(this-package-input "ffmpeg")
-                                   "/bin/ffmpeg")))))))))
+                                   "/bin/ffmpeg")))))))
+      #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-alessio-shellescape
            go-github-com-dannav-hhmmss
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index c7ff03a34d..30181ca189 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -795,7 +795,6 @@ history, and page outlines.")
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "tildegit.org/sloum/bombadillo"
       #:install-source? #f
       #:phases
@@ -812,7 +811,8 @@ history, and page outlines.")
                 (with-directory-excursion builddir
                   (install-file "bombadillo.desktop" appdir)
                   (install-file "bombadillo.1" mandir)
-                  (install-file "bombadillo-icon.png" pixdir))))))))
+                  (install-file "bombadillo-icon.png" pixdir))))))
+      #:test-flags #~(list "-vet=off")))
     (home-page "https://bombadillo.colorfield.space";)
     (synopsis "Terminal browser for the gopher, gemini, and finger protocols")
     (description "Bombadillo is a non-web browser for the terminal with
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 78fa46a20e..391afc432a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1573,7 +1573,7 @@ project)
                    (delete-file-recursively "vendor")))))
     (build-system go-build-system)
     (arguments
-     (list #:go go-1.23
+     (list 
            #:import-path "github.com/adnanh/webhook"
            #:phases
            #~(modify-phases %standard-phases
@@ -1583,7 +1583,8 @@ project)
                      (("/bin/echo")
                       (search-input-file inputs "bin/echo"))
                      (("/bin/sh")
-                      (search-input-file inputs "bin/sh"))))))))
+                      (search-input-file inputs "bin/sh"))))))
+           #:test-flags #~(list "-vet=off")))
     (native-inputs
      (list go-github-com-clbanning-mxj-v2
            go-github-com-coreos-go-systemd-v22

Reply via email to