diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-28 21:34:20 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:42:34 +0000 |
| commit | 17093c6651dfc2c101d5478d3c75c2b62bea8919 (patch) | |
| tree | 04d11298328d7274d0a8613e0db86e102b75a166 | |
| parent | e9f2c713e3a1c14eb9366068cf9660968b5bc743 (diff) | |
gnu: gopls: Update to 0.17.1.
* gnu/packages/golang.scm (gopls): Update to 0.17.1, fix build.
[arguments] <test-subdirs>: Run tests in some subdirectories as there
are no tests in project's root.
Change-Id: I8b9e1456d2c37e1cbd846ea1127845931d5443f2
| -rw-r--r-- | gnu/packages/golang.scm | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d74ab2bf5c4..7c7f2aff588 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2552,7 +2552,7 @@ command-line parsers.") (name "gopls") ;; XXX: Starting from 0.14.0 gppls needs golang.org/x/telemetry, which ;; needs to be discussed if it may be included in Guix. - (version "0.16.2") + (version "0.17.1") (source (origin (method git-fetch) @@ -2561,13 +2561,20 @@ command-line parsers.") (commit (go-version->git-ref version #:subdir "gopls")))) (file-name (git-file-name name version)) (sha256 - (base32 "1l6mkh4v0f602spw3zdmkxqizk32zvgpfy461sinqwhlag8v8v3a")))) + (base32 "1qksn79nc94fig5bia0l8h7fzm1zbn9rvya25hwf0f18v8a0id9l")))) (build-system go-build-system) (arguments (list + #:go go-1.23 #:install-source? #f #:import-path "golang.org/x/tools/gopls" #:unpack-path "golang.org/x/tools" + ;; XXX: No tests in project's root, limit to some of subdris, try to + ;; enable more. + #:test-subdirs + #~(list "internal/protocol/..." + "internal/util/..." + "internal/vulncheck/...") #:phases #~(modify-phases %standard-phases (add-before 'unpack 'override-tools |
