summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-02-10 21:43:08 +0000
committerAndreas Enge <andreas@enge.fr>2026-02-15 14:17:39 +0100
commit5ec2c4e9cca6586745e2f3dba6a4f173bab32f56 (patch)
tree133ca871e5e71bfc536895843e161991a4a81768 /gnu
parente0f5a9c1d9596111c5128bf02292e3235ec4cebc (diff)
gnu: go-golang-org-x-tools: Update to 0.42.0.
* gnu/packages/golang-build.scm (go-golang-org-x-tools): Update to 0.42.0. [arguments] <test-flags>: Skip one more test. [propagated-inputs]: Add go-golang-org-x-telemetry. Change-Id: I5c82cb2ac6cae99fdf61c812e8a7ad9a95a8fccd
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-build.scm14
1 files changed, 10 insertions, 4 deletions
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index b9bc32a9c4..94b82e8e8c 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -1403,7 +1403,7 @@ time.")
(define-public go-golang-org-x-tools
(package
(name "go-golang-org-x-tools")
- (version "0.37.0")
+ (version "0.42.0")
(source
(origin
(method git-fetch)
@@ -1412,7 +1412,7 @@ time.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0l0srynl2cikmz089q5vqgifz6ll2ic1762fbfvak26vqbcx0knz"))
+ (base32 "0206hl6v7gy7cxwamjapa1zr2n3clj0vaqwyy6izcw18faga466i"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -1427,6 +1427,7 @@ time.")
(list
#:skip-build? #t
#:import-path "golang.org/x/tools"
+ ;; TODO: About 200+ tests fail, try to enable more.
#:test-subdirs
#~(list "./blog/..."
"./container/..."
@@ -1455,7 +1456,11 @@ time.")
;; The ordering and paths tests fails because they
;; can't find test packages (perhaps because we do not
;; support Go modules).
- "TestOrdering" "TestPaths")
+ "TestOrdering" "TestPaths"
+ ;; /go/src/main/0.go:4:6: declared and not used:
+ ;; unused. Renamed 2 occurrences in 1 file in 1
+ ;; package.
+ "TestRewrites")
"|"))))
(native-inputs
(list gccgo-14
@@ -1464,7 +1469,8 @@ time.")
(list go-github-com-yuin-goldmark
go-golang-org-x-mod
go-golang-org-x-net
- go-golang-org-x-sync))
+ go-golang-org-x-sync
+ go-golang-org-x-telemetry))
(home-page "https://go.googlesource.com/tools/")
(synopsis "Tools that support the Go programming language")
(description