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

commit aed53bab9bc2acdd1996cc1738f068b949fde308
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jun 8 12:22:35 2025 +0100

    gnu: Pin some golang packages to use go-1.23.
    
    After the defult Golang version was set to 1.24 some of the older
    packages which had no fresh version started failing on the 'check phase,
    this change pins them to go-1.23 helping to resolve the issue.
    
    Go 1.24 requires non-constant format strings to be explicitly handled.
    
    The errors might look like these:
    
        non-constant format string in call to (*testing.common).Errorf
        ExampleParseOptionsLifetime refers to unknown identifier: 
ParseOptionsLifetime
    
    See <https://tip.golang.org/doc/go1.24#vet>.
    
    Change-Id: Ife5093c4fd98af7cea59abf1a9a29351b66602bb
---
 gnu/packages/bioinformatics.scm  |  2 ++
 gnu/packages/databases.scm       |  1 +
 gnu/packages/education.scm       |  2 ++
 gnu/packages/file-systems.scm    |  3 +-
 gnu/packages/golang-build.scm    |  4 ++-
 gnu/packages/golang-check.scm    | 16 ++++++++-
 gnu/packages/golang-crypto.scm   |  3 ++
 gnu/packages/golang-maths.scm    |  2 ++
 gnu/packages/golang-web.scm      | 49 ++++++++++++++++++++++----
 gnu/packages/golang-xyz.scm      | 76 +++++++++++++++++++++++++++++++++-------
 gnu/packages/irc.scm             |  2 ++
 gnu/packages/linux.scm           |  2 +-
 gnu/packages/messaging.scm       |  2 ++
 gnu/packages/password-utils.scm  |  2 ++
 gnu/packages/syncthing.scm       |  1 +
 gnu/packages/text-editors.scm    |  2 ++
 gnu/packages/textutils.scm       |  1 +
 gnu/packages/version-control.scm |  2 ++
 gnu/packages/video.scm           |  2 ++
 gnu/packages/web-browsers.scm    |  2 ++
 20 files changed, 154 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index a119a13a6f..9a24fb9bb7 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -98,6 +98,7 @@
   #:use-module (gnu packages gawk)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gd)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-build)
   #:use-module (gnu packages golang-check)
   #:use-module (gnu packages golang-compression)
@@ -25394,6 +25395,7 @@ functions.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:skip-build? #t
       #:import-path "github.com/biogo/store"))
     (propagated-inputs
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 1ad7fed5ad..41bdca3016 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -508,6 +508,7 @@ 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.
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index b03066b663..687ad6e65c 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -47,6 +47,7 @@
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-build)
   #:use-module (gnu packages golang-check)
   #:use-module (gnu packages golang-web)
@@ -113,6 +114,7 @@
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:install-source? #f
       #:import-path "github.com/xalanq/cf-tool"
       #:phases
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index a89eed6dfb..3c65379e81 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -472,6 +472,7 @@ 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
@@ -2204,8 +2205,8 @@ memory-efficient.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/oniony/TMSU"
-      #:unpack-path "github.com/oniony/TMSU"
       #:install-source? #f
       #:phases
       #~(modify-phases %standard-phases
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index 117b16376c..cc12a5dbd7 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -44,7 +44,8 @@
   #:use-module (guix packages)
   #:use-module (guix utils)
   #:use-module (gnu packages)
-  #:use-module (gnu packages gcc))
+  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages golang))
 
 ;;; Commentary:
 ;;;
@@ -388,6 +389,7 @@ primitives in Go.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/twitchyliquid64/golang-asm"))
     (home-page "https://github.com/twitchyliquid64/golang-asm";)
     (synopsis "Assembler from the Go compiler, in library form")
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 4ed02df429..12795ac1ac 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -49,6 +49,7 @@
   #:use-module (guix git-download)
   #:use-module (guix utils)
   #:use-module (gnu packages)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-build)
   #:use-module (gnu packages golang-xyz))
 
@@ -299,7 +300,9 @@ test (using testing.TB's @code{TempDir}) and with a few 
helper methods.")
            "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
       (build-system go-build-system)
       (arguments
-       '(#:import-path "github.com/cheekybits/is"))
+       (list
+        #:go go-1.23
+        #:import-path "github.com/cheekybits/is"))
       (home-page "https://github.com/cheekybits/is";)
       (synopsis "Mini testing helper for Go")
       (description "A mini testing helper for Go.
@@ -441,6 +444,7 @@ 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
@@ -945,6 +949,7 @@ 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?)))
@@ -1501,6 +1506,7 @@ output capturing, mocking, and much more.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/matryer/is"))
     (home-page "https://github.com/matryer/is";)
     (synopsis "Lightweight testing mini-framework for Golang")
@@ -1553,6 +1559,7 @@ Perl's @url{https://metacpan.org/pod/Test::Deep, 
Test::Deep perl}.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/onsi/ginkgo"
       #:test-flags #~(list "-skip" "TestIntegration")))
     (propagated-inputs
@@ -1667,6 +1674,7 @@ framework.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/otiai10/mint"))
     (home-page "https://github.com/otiai10/mint";)
     (synopsis "Minimal assertion for Golang testing framework")
@@ -1829,6 +1837,9 @@ GIT_TRACE mechanism.")
     (build-system go-build-system)
     (arguments
      (list
+      ;; See the list of supported Golang versions in
+      ;; <testify/.github/workflows/main.yml>.
+      #:go go-1.23
       ;; XXX: Tests are shaky on non x86_64 architectures, check if some may
       ;; be enabled.
       #:tests? (target-x86-64?)
@@ -2035,6 +2046,7 @@ test coverage and has a web user interface that will 
refresh automatically.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/smarty/assertions"))
     (home-page "https://github.com/smarty/assertions";)
     (synopsis "Fluent assertion-style functions")
@@ -2452,6 +2464,7 @@ custom assertions to be used alongside native Go 
testing.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/warpfork/go-testmark"))
     (propagated-inputs
      (list go-github-com-warpfork-go-fsx))
@@ -2482,6 +2495,7 @@ testmark} format, which itself is a subset of Markdown 
format.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/warpfork/go-wish"
       #:test-subdirs #~(list "cmp/..." "wishfix" ".")
       #:test-flags
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 3be5588f3b..0869d6fc98 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -213,6 +213,7 @@ primitives.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/99designs/keyring"
       #:test-flags
       #~(list "-skip" (string-join
@@ -388,6 +389,7 @@ 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"))
     (propagated-inputs
@@ -568,6 +570,7 @@ described at @url{https://xxhash.com/}.";)
       (build-system go-build-system)
       (arguments
        (list
+        #:go go-1.23
         #:import-path "github.com/chmduquesne/rollinghash/"
         #:phases
         #~(modify-phases %standard-phases
diff --git a/gnu/packages/golang-maths.scm b/gnu/packages/golang-maths.scm
index e84c1bdd88..7e0b7b75fa 100644
--- a/gnu/packages/golang-maths.scm
+++ b/gnu/packages/golang-maths.scm
@@ -25,6 +25,7 @@
   #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module (gnu packages)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-build))
 
 ;;; Commentary:
@@ -200,6 +201,7 @@ flow into higher precision types from the @code{math.big} 
library.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/montanaflynn/stats"
       #:phases
       #~(modify-phases %standard-phases
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 867a1bb98c..1eadce80d0 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -736,6 +736,7 @@ functions.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/aws/aws-sdk-go"
       #:phases
       #~(modify-phases %standard-phases
@@ -1489,6 +1490,7 @@ and RFC 5389).")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/cenkalti/backoff/v4"))
     (home-page "https://github.com/cenkalti/backoff";)
     (synopsis "The exponential backoff algorithm in Go")
@@ -1867,7 +1869,9 @@ Any}.")
         (base32 "180wnxiim622v17xcnrjrg9g07mg4xizmlxxyrl9p42is0abi9c8"))))
     (build-system go-build-system)
     (arguments
-     (list #:import-path "github.com/coreos/go-oidc"))
+     (list
+      #:go go-1.23
+      #:import-path "github.com/coreos/go-oidc"))
     (native-inputs
      (list go-golang-org-x-net))
     (propagated-inputs
@@ -3062,6 +3066,7 @@ 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"))
     (native-inputs
      (list go-github-com-google-go-cmp
@@ -3460,6 +3465,7 @@ 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
@@ -3614,6 +3620,7 @@ 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"))
     (home-page "https://github.com/gobwas/httphead";)
     (synopsis "Tiny HTTP header value parsing library in Golang")
@@ -3760,6 +3767,7 @@ 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
@@ -4030,7 +4038,9 @@ parameters.")
         (base32 "0j2xjy8xrk9y9k6bqpvimj84i6hg1wwsyvwsb0axhmp49cmnrp86"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "github.com/google/safehtml"))
+     (list
+      #:go go-1.23
+      #:import-path "github.com/google/safehtml"))
     (propagated-inputs
      (list go-golang-org-x-text))
     (home-page "https://github.com/google/safehtml";)
@@ -4770,8 +4780,10 @@ authenticated identities and their attributes.")
         (base32 "1rv495j8j2x6avw5hqpf7rpiakr5gdsx6pv8rfn0ff7vi35zfa62"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "github.com/jcmturner/gokrb5/v8"
-       #:unpack-path "github.com/jcmturner/gokrb5"))
+     (list
+      #:go go-1.23
+      #:import-path "github.com/jcmturner/gokrb5/v8"
+      #:unpack-path "github.com/jcmturner/gokrb5"))
     (native-inputs
      (list go-github-com-stretchr-testify))
     (propagated-inputs
@@ -4873,7 +4885,9 @@ Call}.")
         (base32 "1mlgnk0y0d8njx7h66w6bhr95zh2ccg1hxlnm15i2lfh6l58s60q"))))
     (build-system go-build-system)
     (arguments
-     (list #:import-path "github.com/jhillyerd/enmime"))
+     (list
+      #:go go-1.23
+      #:import-path "github.com/jhillyerd/enmime"))
     (native-inputs
      (list go-github-com-go-test-deep
            go-github-com-stretchr-testify))
@@ -4906,6 +4920,7 @@ geared towards parsing MIME encoded emails.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/jlaffaye/ftp"))
     (native-inputs
      (list go-github-com-stretchr-testify))
@@ -4933,7 +4948,9 @@ described in 
@url{https://www.rfc-editor.org/rfc/rfc959,RFC 959}.")
         (base32 "18zyr9nlywmwp3wpzcjxrgq9s9d2mmc6zg6xhsna00m663nkyc3n"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "github.com/jmespath/go-jmespath"))
+     (list
+      #:go go-1.23
+      #:import-path "github.com/jmespath/go-jmespath"))
     (native-inputs
      (list go-github-com-davecgh-go-spew
            go-github-com-pmezard-go-difflib
@@ -5010,6 +5027,7 @@ 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
       ;; XXX: Try to skip just "Test_symmetric/map[test.stringKeyType]string".
@@ -5182,6 +5200,7 @@ protocol in Go language.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:skip-build? #t
       #:import-path "github.com/labbsr0x/goh"))
     (propagated-inputs
@@ -5748,6 +5767,7 @@ fixed.")
            go-golang-org-x-text))
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/makeworld-the-better-one/go-gemini"))
     (home-page "https://github.com/makew0rld/go-gemini";)
     (synopsis "Client/server library for the Gemini protocol, in Go")
@@ -7025,6 +7045,7 @@ higher-level API for doing so.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/pascaldekloe/goe"
       #:phases
       #~(modify-phases %standard-phases
@@ -7086,6 +7107,7 @@ API.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/perimeterx/marshmallow"))
     (native-inputs
      (list go-github-com-go-test-deep))
@@ -7333,6 +7355,7 @@ part of @url{https://github.com/pion, Pion} WebRTC 
implementation.")
         (base32 "0f9jy80law69zb26rkb6kl6w1c66vdghdrmifhwlmzngb644ihdb"))))
     (arguments
      (list
+      #:go go-1.23
       #:tests? #f ;Tests require network access.
       #:import-path "github.com/pion/ice/v3"))
     (propagated-inputs
@@ -7638,6 +7661,7 @@ Protocol,SCTP} as specified in
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/pion/stun"))
     (native-inputs
      (list go-github-com-stretchr-testify))
@@ -7672,6 +7696,7 @@ Protocol,SCTP} as specified in
         (base32 "0zli55ls5izpr6cw0wj0gy44872xn9rk20i8ay9cfk7j2rb60y60"))))
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/pion/stun/v2"))
     (propagated-inputs
      (list go-github-com-pion-dtls-v2
@@ -7696,6 +7721,7 @@ Protocol,SCTP} as specified in
         (base32 "0yavl76y0fida9f1jfdmzdg7rm5jhp6kvdgn3smsf93jad1vbr2x"))))
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/pion/stun/v3"))
     (propagated-inputs
      (list go-github-com-pion-dtls-v3
@@ -7802,6 +7828,7 @@ throughout the @url{https://github.com/pion, Pion} 
modules.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/pion/turn"
       #:test-flags
       #~(list "-skip"
@@ -8332,6 +8359,7 @@ protocol.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/quic-go/webtransport-go"
       ;; Error: "68" is not greater than "80"
       #:test-flags #~(list "-skip" "TestDatagrams")))
@@ -8903,6 +8931,7 @@ 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
@@ -9261,6 +9290,7 @@ encoding library for the MessagePack, CBOR, JSON and the 
Binc formats.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/urfave/negroni"))
     (home-page "https://github.com/urfave/negroni";)
     (synopsis "Idiomatic HTTP Middleware for Golang")
@@ -9286,6 +9316,7 @@ 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"))))
 
 (define-public go-github-com-valyala-fasthttp
@@ -9724,6 +9755,7 @@ 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"
@@ -10090,6 +10122,7 @@ Go.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       ;; Project provides a Go library and also CLI builds.
       #:skip-build? #t
       #:import-path
@@ -10236,6 +10269,7 @@ lists)
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "go.opencensus.io"
       #:test-flags
       #~(list "-skip"
@@ -11029,6 +11063,7 @@ the code or routes.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "maunium.net/go/mautrix"
       #:embed-files
       #~(list
@@ -11229,6 +11264,7 @@ protocol.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:build-flags #~(list (string-append "-ldflags="
                                            "-X main.lyrebirdVersion="
                                            #$version " -s -w"))
@@ -11397,6 +11433,7 @@ go-github-com-tdewolff-minify-v2 source.")))
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:install-source? #f
       #:import-path "github.com/tomnomnom/gron"))
     (native-inputs
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index be17fa1b39..c41456f909 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -140,6 +140,7 @@
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:skip-build? #t
       #:import-path "9fans.net/go"
       #:test-subdirs #~(list "acme/..."
@@ -557,7 +558,9 @@ commands.")
         (base32 "1z64yzr2l5j5r5rqi89jk4madn3ak8hw95lva5ra7gnlyhh2vs05"))))
     (build-system go-build-system)
     (arguments
-     (list #:import-path "git.sr.ht/~rockorager/tcell-term"))
+     (list
+      #:go go-1.23
+      #:import-path "git.sr.ht/~rockorager/tcell-term"))
     (native-inputs
      (list go-github-com-stretchr-testify))
     (propagated-inputs
@@ -937,7 +940,9 @@ http://tartarus.org/~martin/PorterStemmer/index.html.";)
     (build-system go-build-system)
     ;; TODO: Build cmd/chroma and cmd/chromad commands.
     (arguments
-     `(#:import-path "github.com/alecthomas/chroma"))
+     (list
+      #:go go-1.23
+      #:import-path "github.com/alecthomas/chroma"))
     (native-inputs
      (list go-github-com-alecthomas-kong
            go-github-com-alecthomas-kong-hcl
@@ -1356,6 +1361,7 @@ environment and runtime configuration.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/AndreasBriese/bbloom"))
     (home-page "https://github.com/AndreasBriese/bbloom";)
     (synopsis "Bitset Bloom filter for Golang")
@@ -1638,6 +1644,7 @@ cluster segmentation algorithm.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/arbovm/levenshtein"))
     (home-page "https://github.com/arbovm/levenshtein";)
     (synopsis "Levenshtein Distance in Golang")
@@ -1758,6 +1765,7 @@ for Go.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/asaskevich/govalidator"
       #:phases
       #~(modify-phases %standard-phases
@@ -2262,6 +2270,7 @@ based on murmurhash.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       ;; This test fails with Go 1.16.
       #:test-flags #~(list "-skip" "TestMatch")
       #:import-path "github.com/bmatcuk/doublestar"))
@@ -4059,6 +4068,7 @@ parse and compare two semantic version strings.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/coreos/go-systemd/v22"
       #:phases
       #~(modify-phases %standard-phases
@@ -4408,6 +4418,8 @@ structs in the Go programming language.")
     (outputs '("out" "doc"))
     (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
@@ -6362,6 +6374,7 @@ also favors portability, and includes support for all 
POSIX systems.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/gdey/errors"))
     (home-page "https://github.com/gdey/errors";)
     (synopsis "Augmentation of std @code{errors} library")
@@ -6409,6 +6422,7 @@ library in go standard library.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/ghemawat/stream"))
     (home-page "https://github.com/ghemawat/stream";)
     (synopsis "UNIX pipe-like chained filters")
@@ -6556,6 +6570,7 @@ goroutines.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/go-errors/errors"
       ;; Stack trace does not contain source line: 'a: b(5)'.
       #:test-flags #~(list "-skip" "TestStackFormat")))
@@ -6912,6 +6927,7 @@ professionally translated
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/go-spatial/proj"))
     (native-inputs
      (list go-github-com-stretchr-testify))
@@ -7127,6 +7143,7 @@ native Go structure.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/gobwas/glob"))
     (home-page "https://github.com/gobwas/glob";)
     (synopsis "Go globbing library")
@@ -7224,6 +7241,7 @@ size.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/godbus/dbus"
       #:phases
       #~(modify-phases %standard-phases
@@ -7354,6 +7372,7 @@ execution.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/gogs/chardet"))
     (home-page "https://github.com/gogs/chardet";)
     (synopsis "Character set detection for Go")
@@ -7863,6 +7882,7 @@ provides a buffered io.Writer that is flushed at a timed 
interval.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/goverter/patherr"))
     (home-page "https://github.com/goverter/patherr";)
     (synopsis "Implementation for Goverter's wrapErrorsUsing")
@@ -9508,6 +9528,7 @@ object, which implements simple error-retrying 
functionality.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/jbenet/goprocess"
       #:test-flags
       #~(list "-short"
@@ -9674,6 +9695,7 @@ text, etc. with a heavy emphasis on customization.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/jessevdk/go-flags"
       #:test-flags #~(list "-skip" "TestCompletion|TestParserCompletion")))
     (propagated-inputs
@@ -10158,6 +10180,7 @@ resources located relative to the executable file.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/karrick/godirwalk"))
     ;; To build all examples as a test scenario.
     (native-inputs
@@ -10993,6 +11016,7 @@ structure.  It's a stable fork of 
https://github.com/mndrix/ps.";)
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "layeh.com/gopher-luar"))
     (propagated-inputs (list go-github-com-yuin-gopher-lua))
     (home-page "https://github.com/layeh/gopher-luar";)
@@ -11533,6 +11557,7 @@ generation.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/MakeNowJust/heredoc"))
     (home-page "https://github.com/MakeNowJust/heredoc";)
     (synopsis "Here-documents with indent")
@@ -11592,6 +11617,7 @@ implementing features like:
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/Masterminds/goutils"))
     (home-page "https://github.com/Masterminds/goutils/";)
     (synopsis "Utility functions to manipulate strings")
@@ -11851,14 +11877,16 @@ string.")
          "0l0l5s4hlsrm4z6hygig2pp1qirk5ycrzn9z27ay3yvg9k7zafzx"))))
     (build-system go-build-system)
     (arguments
-     `(#:import-path "github.com/mattn/go-shellwords"
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'patch-sh-path
-           (lambda* (#:key import-path #:allow-other-keys)
-             (substitute* (string-append
-                           "src/" import-path "/util_posix.go")
-               (("/bin/sh") (which "sh"))))))))
+     (list
+      #:go go-1.23
+      #:import-path "github.com/mattn/go-shellwords"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'patch-sh-path
+            (lambda* (#:key import-path #:allow-other-keys)
+              (substitute* (string-append
+                            "src/" import-path "/util_posix.go")
+                (("/bin/sh") (which "sh"))))))))
     (home-page "https://github.com/mattn/go-shellwords";)
     (synopsis "Parse lines into shell words")
     (description "This package parses text into shell arguments.  Based on
@@ -12404,6 +12432,7 @@ parsing.")
     (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
@@ -12736,6 +12765,7 @@ Authentication Modules, PAM} application API.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/muesli/cancelreader"))
     (propagated-inputs
      (list go-golang-org-x-sys))
@@ -13234,6 +13264,7 @@ 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"))
     (native-inputs
@@ -13356,6 +13387,7 @@ NSQ protocol @url{https://nsq.io/}.";)
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/nxadm/tail"))
     (propagated-inputs
      (list go-github-com-fsnotify-fsnotify
@@ -13774,6 +13806,7 @@ composable way such that accurate error can be reasoned 
about.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/orisano/pixelmatch"))
     (home-page "https://github.com/orisano/pixelmatch";)
     (synopsis "Pixelmatch port to Go")
@@ -13931,6 +13964,7 @@ processes.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/pborman/getopt"))
     (home-page "https://github.com/pborman/getopt";)
     (synopsis "Getopt style option parsing for Go")
@@ -14002,7 +14036,9 @@ package (which is based off an earlier version of this 
package).")
         (base32 "1wypjrr1axkrkzp4n5gvams94f2sd7dq1pdpd2i35sgpdz6r2m6g"))))
     (build-system go-build-system)
     (arguments
-     (list #:import-path "github.com/pelletier/go-toml"))
+     (list
+      #:go go-1.23
+      #:import-path "github.com/pelletier/go-toml"))
     (propagated-inputs
      (list go-github-com-burntsushi-toml
            go-github-com-davecgh-go-spew
@@ -14262,6 +14298,7 @@ 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
@@ -14326,6 +14363,7 @@ Pion}.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/pkg/diff"))
     (home-page "https://github.com/pkg/diff/";)
     (synopsis "Create and print diffs")
@@ -14415,6 +14453,7 @@ 
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/"))
     (home-page "https://github.com/pmezard/go-difflib";)
@@ -14439,6 +14478,7 @@ 
https://en.wikipedia.org/wiki/Extended_file_attributes}.";)
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/polydawn/refmt"))
     (propagated-inputs
      (list go-github-com-go-yaml-yaml
@@ -14978,7 +15018,9 @@ logging.")
        (sha256
         (base32 "0d1rg1drrfmabilqjjayklsz5d0n3hkf979sr3wsrw92bfbkivs7"))))
     (arguments
-     (list #:import-path "github.com/russross/blackfriday/v2"))))
+     (list
+      #:go go-1.23
+      #:import-path "github.com/russross/blackfriday/v2"))))
 
 (define-public go-github-com-rwcarlsen-goexif
   ;; No release or version tag, Golang pseudo version:
@@ -15410,6 +15452,7 @@ and branchless algorithms shine.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:skip-build? #t
       #:import-path "github.com/segmentio/encoding"
       #:test-flags #~(list "-skip" "TestUnmarshalFixture|TestDecodeFixture")))
@@ -15741,6 +15784,7 @@ GNU/Linux, this is a proxy for the @command{xdg-open} 
command.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/smacker/go-tree-sitter"))
     (native-inputs (list go-github-com-stretchr-testify))
     (home-page "https://github.com/smacker/go-tree-sitter";)
@@ -16188,6 +16232,7 @@ slices, JSON and other data.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/subosito/gotenv"))
     (native-inputs
      (list go-github-com-stretchr-testify))
@@ -17374,6 +17419,7 @@ weighted moving averages}.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/vmihailenco/msgpack/v4"))
     (native-inputs
      (list go-gopkg-in-check-v1))
@@ -17498,6 +17544,7 @@ Redis.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/warpfork/go-fsx"))
     (home-page "https://github.com/warpfork/go-fsx";)
     (synopsis "Extended filesystem interface for Golang")
@@ -18115,6 +18162,7 @@ common sequence} values from two arbitrary arrays.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/yuin/gopher-lua"
       #:phases
       #~(modify-phases %standard-phases
@@ -18840,6 +18888,7 @@ 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"
@@ -19281,6 +19330,7 @@ APIs may be unstable
       (build-system go-build-system)
       (arguments
        (list
+        #:go go-1.23
         #:skip-build? #t
         #:import-path "go4.org"
         #:test-subdirs
@@ -19868,6 +19918,7 @@ dependencies.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "howett.net/plist"
       ;; cmd requires gopkg.in/yaml.v1
       #:test-subdirs #~(list "internal/..." ".")))
@@ -19942,6 +19993,7 @@ 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"
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 1ab72a3636..f0e608359e 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -72,6 +72,7 @@
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-build)
   #:use-module (gnu packages golang-check)
   #:use-module (gnu packages golang-web)
@@ -1237,6 +1238,7 @@ 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
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 7d991af25e..b737462e1e 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4916,7 +4916,7 @@ from the module-init-tools project.")
         (list
           ;; For the test suite.
           cppcheck
-          go)))
+          go-1.23)))
     (home-page "https://github.com/rfjakob/earlyoom";)
     (synopsis "Simple out of memory (OOM) daemon for the Linux kernel")
     (description "Early OOM is a minimalist out of memory (OOM) daemon that
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index c2928c0042..fed4c8f283 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -94,6 +94,7 @@
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-build)
   #:use-module (gnu packages golang-check)
   #:use-module (gnu packages golang-compression)
@@ -3339,6 +3340,7 @@ designed for experienced users.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       ;; It helps to resolve <golang.org/x/net/publicsuffix/table.go:63:12>:
       ;; pattern data/children: cannot embed irregular file data/children
       #:embed-files #~(list "children" "nodes" "text")
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index c6bbeb3def..be07111cef 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -93,6 +93,7 @@
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-build)
   #:use-module (gnu packages golang-crypto)
   #:use-module (gnu packages golang-xyz)
@@ -147,6 +148,7 @@
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:install-source? #f
       #:import-path "github.com/99designs/aws-vault"
       #:build-flags
diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 85015f0794..f7894be9cd 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -65,6 +65,7 @@
     (outputs '("out" "utils"))
     (arguments
      (list
+      #:go go-1.23
        #:modules '((srfi srfi-26) ; for cut
                    (guix build utils)
                    (guix build go-build-system))
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 48989d3c26..5ee56240e6 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -95,6 +95,7 @@
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-build)
   #:use-module (gnu packages golang-check)
   #:use-module (gnu packages golang-xyz)
@@ -180,6 +181,7 @@ 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"
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 391ba4c7b0..4b49cb5d71 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1284,6 +1284,7 @@ formats (e.g. Bibtex, RIS, etc.) using a common XML 
intermediate.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:install-source? #f
       #:import-path "github.com/benhoyt/goawk"
       #:phases
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 6a8ed1a591..f18b0ba396 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -4187,6 +4187,7 @@ file contents on a remote server.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "git.sr.ht/~ngraves/lfs-s3"))
     (inputs (list git-lfs))
     (propagated-inputs
@@ -4755,6 +4756,7 @@ 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
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index b9aa6a5df3..d557568291 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -156,6 +156,7 @@
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnunet)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-build)
   #:use-module (gnu packages golang-xyz)
   #:use-module (gnu packages gstreamer)
@@ -3361,6 +3362,7 @@ 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")
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 5c6e0e2bea..4cd90e9658 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -73,6 +73,7 @@
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnome-xyz)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
@@ -915,6 +916,7 @@ 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


Reply via email to