From 89ef51dfec262d8db68756fc9fafc0d71cbbd5f7 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 1 May 2026 11:14:23 +0100 Subject: [PATCH] gnu: Remove #:go arguments using go-1.25. We are now building with go-1.25 by default. Automated via: git grep -rl '#:go go-1.25' | xargs sed -i '/.*#:go go-1.25.*/d'. Change-Id: I5a503a6db10fc65cb22abd89563dfb6297db6ac6 --- gnu/packages/backup.scm | 1 - gnu/packages/docker.scm | 1 - gnu/packages/golang-web.scm | 11 ----------- gnu/packages/golang-xyz.scm | 6 ------ gnu/packages/ipfs.scm | 2 -- gnu/packages/networking.scm | 1 - gnu/packages/syncthing.scm | 1 - gnu/packages/version-control.scm | 1 - 8 files changed, 24 deletions(-) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 218932f4a18..0146dde9895 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -910,7 +910,6 @@ is like a time machine for your data.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:install-source? #f #:import-path "github.com/restic/restic/cmd/restic" #:unpack-path "github.com/restic/restic" diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index 1b427fb4fbb..480890e18e0 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -216,7 +216,6 @@ projects.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:embed-files #~(list ".*\\.json") #:import-path "github.com/moby/policy-helpers")) (native-inputs diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 57b47562610..eadf812e9e0 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -7299,7 +7299,6 @@ Encryption, JSON Web Signature, and JSON Web Token standards.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:test-flags #~(list "-skip" "TestSynctestMarshal") #:import-path "github.com/go-json-experiment/json")) @@ -8836,7 +8835,6 @@ Terraform by using the enterprise certificates feature.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:skip-build? #t #:import-path "github.com/googleapis/gax-go/v2" #:unpack-path "github.com/googleapis/gax-go" @@ -8877,7 +8875,6 @@ for clients and servers based on @code{gRPC} and Google API conventions.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:import-path "github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp" #:unpack-path "github.com/GoogleCloudPlatform/grpc-gcp-go" ;; gcp_multiendpoint_test.go:441: endpoint wanted "localhost:50051", got @@ -16412,7 +16409,6 @@ protocol.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:import-path "github.com/quic-go/webtransport-go" #:phases #~(modify-phases %standard-phases @@ -17766,7 +17762,6 @@ It is part of the Sigstore project for software supply chain security.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:skip-build? #t #:import-path "github.com/sigstore/sigstore" #:test-flags @@ -18517,7 +18512,6 @@ side of the connection, using various OS-specific facilities.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:skip-build? #t #:test-subdirs ;; XXX: Remove when all inputs are packaged. @@ -21450,7 +21444,6 @@ Tracer implementation from the @code{OpenTracing} project.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:import-path "go.opentelemetry.io/contrib/zpages" #:unpack-path "go.opentelemetry.io/contrib")) (native-inputs (list go-github-com-stretchr-testify)) @@ -21501,7 +21494,6 @@ display telemetry stats.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:tests? #f ;; TODO: Tests require additional dependencies #:import-path "go.opentelemetry.io/otel" ;; Error: Both arguments must be pointers. @@ -22082,7 +22074,6 @@ logging library. Instead, install one of the bridges listed in the (name "go-go-opentelemetry-io-otel-metric") (arguments (list - #:go go-1.25 #:import-path "go.opentelemetry.io/otel/metric" #:unpack-path "go.opentelemetry.io/otel")) (synopsis "OpenTelemetry Metric API") @@ -22849,7 +22840,6 @@ interacting with Google's @code{gRPC} APIs.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:import-path "google.golang.org/genproto/googleapis/bytestream" #:unpack-path "google.golang.org/genproto")) (propagated-inputs @@ -24060,7 +24050,6 @@ that can use multiple signing keys (build-system go-build-system) (arguments (list - #:go go-1.25 #:build-flags #~(list (string-append "-ldflags=" "-X main.lyrebirdVersion=" #$version " -s -w")) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index a6f002f997f..7755cec3ecd 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -7463,7 +7463,6 @@ struct values.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:skip-build? #t #:test-flags #~(list "-skip" (string-join @@ -7524,7 +7523,6 @@ Utilities: (build-system go-build-system) (arguments (list - #:go go-1.25 #:import-path "github.com/creachadair/msync" #:phases #~(modify-phases %standard-phases @@ -7560,7 +7558,6 @@ variable.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:import-path "github.com/creachadair/taskgroup" #:phases #~(modify-phases %standard-phases @@ -12755,7 +12752,6 @@ configuration.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:import-path "github.com/goreleaser/nfpm/v2" #:unpack-path "github.com/goreleaser/nfpm/v2" ;; Tests fail due to read-only filesystem when trying to manipulate mode @@ -27015,7 +27011,6 @@ managing TUF repositories and clients for securely downloading updates.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:skip-build? #t #:import-path "github.com/theupdateframework/go-tuf/v2" #:test-flags @@ -32093,7 +32088,6 @@ by the Kubernetes API server.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:embed-files #~(list "swagger.json") #:import-path "k8s.io/apimachinery" #:test-flags diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 9431edb8f99..381f49e89c9 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -532,7 +532,6 @@ go-datastore}.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:import-path "github.com/ipfs/go-dsqueue" #:phases #~(modify-phases %standard-phases @@ -2326,7 +2325,6 @@ types.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:install-source? #f #:embed-files #~(list "sorted-network-list.bin" ".*\\.css" ".*\\.html") #:unpack-path "github.com/ipfs/kubo" diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index d186a7598de..1285f1ef5e8 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -5193,7 +5193,6 @@ daemon.") (build-system go-build-system) (arguments (list - #:go go-1.25 #:install-source? #f #:import-path "github.com/slackhq/nebula" #:build-flags diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 9c54faffebb..8fb46d1c6b2 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -73,7 +73,6 @@ #:import-path "github.com/syncthing/syncthing" ;; Check 'go.mod' in the source distribution for the required version of Go. ;; We don't need to install the source code for end-user applications. - #:go go-1.25 #:install-source? #f #:phases #~(modify-phases %standard-phases diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index d7e70f14d9f..f2d12201edd 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1090,7 +1090,6 @@ the date of the most recent commit that modified them (arguments (list #:import-path "go.abhg.dev/gs" - #:go go-1.25 #:install-source? #f #:build-flags #~(list (string-append "-ldflags=-X main._version=" #$version))