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

commit 59b122e70f010afd094f9cfbf6b716b58d2f28ff
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       |  3 ++
 gnu/packages/file-systems.scm    |  3 +-
 gnu/packages/golang-build.scm    |  4 ++-
 gnu/packages/golang-check.scm    | 15 +++++++-
 gnu/packages/golang-crypto.scm   |  3 ++
 gnu/packages/golang-maths.scm    |  2 ++
 gnu/packages/golang-vcs.scm      |  1 +
 gnu/packages/golang-web.scm      | 57 +++++++++++++++++++++++++----
 gnu/packages/golang-xyz.scm      | 77 +++++++++++++++++++++++++++++++++-------
 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 ++
 21 files changed, 163 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 4ca7998cc7..4f8c266a3b 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -99,6 +99,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)
@@ -25386,6 +25387,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 443725ed4e..394866c903 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -507,6 +507,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 33855baef4..224ce19b40 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
@@ -1126,6 +1128,7 @@ 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"
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 35d28c4ce2..d2aa660e24 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -474,6 +474,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
@@ -2206,8 +2207,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 330ef4cc03..e72a0609da 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -331,7 +331,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.
@@ -473,6 +475,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
@@ -1000,6 +1003,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?)))
@@ -1675,6 +1679,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")
@@ -1763,6 +1768,7 @@ 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")))
     (propagated-inputs
@@ -1877,6 +1883,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")
@@ -2039,6 +2046,7 @@ GIT_TRACE mechanism.")
     (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")
@@ -2137,6 +2145,9 @@ test coverage and has a web user interface that will 
refresh automatically.")
     (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?)
@@ -2389,6 +2400,7 @@ customization
     (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))
@@ -2419,6 +2431,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 a8195db9a0..1975c972ae 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 bafd75501c..76dc26c5c8 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:
@@ -229,6 +230,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-vcs.scm b/gnu/packages/golang-vcs.scm
index 28b3d8fa0c..74dceed8ec 100644
--- a/gnu/packages/golang-vcs.scm
+++ b/gnu/packages/golang-vcs.scm
@@ -231,6 +231,7 @@ 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"))
     (native-inputs
      (list git-minimal/pinned
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index e85e6880d4..4168f8ab3f 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -536,6 +536,7 @@ example @code{GOPPROF=http,block}.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/apex/log"))
     (native-inputs
      (list go-github-com-tj-assert
@@ -566,7 +567,8 @@ require encoding and decoding before fanning-out to 
handlers.")
   (hidden-package
    (package/inherit go-github-com-apex-log
      (arguments
-      (list #:import-path "github.com/apex/log"
+      (list #:go go-1.23
+            #:import-path "github.com/apex/log"
             #:test-subdirs #~(list ".")))
      (propagated-inputs
       (list go-github-com-fatih-color
@@ -843,6 +845,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
@@ -1596,6 +1599,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")
@@ -2024,7 +2028,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
@@ -2338,6 +2344,7 @@ 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"))
     (home-page "https://github.com/donovanhide/eventsource";)
     (synopsis "Server Side Events client and server for Golang")
@@ -2896,6 +2903,7 @@ application's http.Handlers.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/flosch/pongo2/v6"))
     (native-inputs
      (list go-gopkg-in-check-v1))
@@ -3268,6 +3276,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
@@ -3666,6 +3675,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
@@ -3820,6 +3830,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")
@@ -3966,6 +3977,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
@@ -4236,7 +4248,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";)
@@ -5055,8 +5069,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
@@ -5186,7 +5202,9 @@ about missing required fields, or when pattern validation 
does not match.")
         (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))
@@ -5219,6 +5237,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))
@@ -5246,7 +5265,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
@@ -5323,6 +5344,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".
@@ -5495,6 +5517,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
@@ -6095,6 +6118,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")
@@ -7605,6 +7629,7 @@ 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
@@ -7691,6 +7716,7 @@ also be used to manage your stamp collection.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/pascaldekloe/goe"
       #:phases
       #~(modify-phases %standard-phases
@@ -7752,6 +7778,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))
@@ -7999,6 +8026,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
@@ -8304,6 +8332,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))
@@ -8338,6 +8367,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
@@ -8362,6 +8392,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
@@ -8468,6 +8499,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"
@@ -8998,6 +9030,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")))
@@ -9614,6 +9647,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
@@ -10056,6 +10090,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")
@@ -10081,6 +10116,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
@@ -10519,6 +10555,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"
@@ -10751,6 +10788,7 @@ It is to used for inputs in other packages.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/zitadel/oidc/v3"
       #:test-flags
       #~(list "-skip" (string-join
@@ -10938,6 +10976,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
@@ -11084,6 +11123,7 @@ lists)
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "go.opencensus.io"
       #:test-flags
       #~(list "-skip"
@@ -11939,6 +11979,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
@@ -12165,6 +12206,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"))
@@ -12350,6 +12392,7 @@ carries no encryption keys and cannot decode the 
traffic that it proxies.")))
     (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 ca8e895367..10ea7019af 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -144,6 +144,7 @@
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:skip-build? #t
       #:import-path "9fans.net/go"
       #:test-subdirs #~(list "acme/..."
@@ -561,7 +562,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
@@ -1002,7 +1005,9 @@ prompts on terminals supporting ANSI escape sequences.")
     (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
@@ -1421,6 +1426,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")
@@ -1754,6 +1760,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")
@@ -1874,6 +1881,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
@@ -2435,6 +2443,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"))
@@ -4462,6 +4471,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
@@ -4853,6 +4863,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
@@ -7166,6 +7178,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")
@@ -7213,6 +7226,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")
@@ -7360,6 +7374,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")))
@@ -7716,6 +7731,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))
@@ -7931,6 +7947,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")
@@ -8028,6 +8045,7 @@ size.")
     (build-system go-build-system)
     (arguments
      (list
+      #:go go-1.23
       #:import-path "github.com/godbus/dbus"
       #:phases
       #~(modify-phases %standard-phases
@@ -8158,6 +8176,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")
@@ -8699,6 +8718,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")
@@ -9670,6 +9690,7 @@ 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"
@@ -10479,6 +10500,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"
@@ -10645,6 +10667,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
@@ -11237,6 +11260,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
@@ -12101,6 +12125,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";)
@@ -12670,6 +12695,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")
@@ -12729,6 +12755,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")
@@ -13012,14 +13039,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
@@ -13618,6 +13647,7 @@ 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
@@ -14082,6 +14112,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))
@@ -14632,6 +14663,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
@@ -14781,6 +14813,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
@@ -15375,6 +15408,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")
@@ -15559,6 +15593,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")
@@ -15630,7 +15665,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
@@ -15914,6 +15951,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
@@ -15978,6 +16016,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")
@@ -16067,6 +16106,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";)
@@ -16091,6 +16131,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
@@ -16691,7 +16732,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:
@@ -17153,6 +17196,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")))
@@ -17484,6 +17528,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";)
@@ -17931,6 +17976,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))
@@ -19232,6 +19278,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))
@@ -19391,6 +19438,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")
@@ -20008,6 +20056,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
@@ -20785,6 +20834,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"
@@ -21226,6 +21276,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
@@ -21813,6 +21864,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/..." ".")))
@@ -21887,6 +21939,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 17e397f86b..0675213c26 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -73,6 +73,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)
@@ -1232,6 +1233,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 8dc546ad69..9dd08c0843 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5312,7 +5312,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 df35fc8229..906c097c98 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -96,6 +96,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)
@@ -3357,6 +3358,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 051dc6a9ac..704690a0f7 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -95,6 +95,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)
@@ -151,6 +152,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 20d6edd1b1..66bc4617e1 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 e1c69ceb60..4ebb91b8fc 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -96,6 +96,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 b9d3dd6ac8..02d19a743e 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1402,6 +1402,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 55897de02e..452fafe068 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -4299,6 +4299,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
@@ -4867,6 +4868,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 98cca568fc..be1b839810 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -158,6 +158,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 graphics)
@@ -3490,6 +3491,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 cf70505ac5..5940ca5418 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -76,6 +76,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)
@@ -923,6 +924,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