diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-19 23:45:33 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:42:10 +0000 |
commit | a807da4c31f837780b74d6225f169f3ba327656e (patch) | |
tree | 4d5f26b6c8d38667e95d697d3ce65622de38c4ca /gnu/packages/golang-build.scm | |
parent | 4458a22b21d24078a3a7646ba461b0593de9a298 (diff) |
gnu: go-golang-org-x-sync: Simplify
* gnu/packages/golang-build.scm (go-golang-org-x-sync)
[arguments] <skip-build?>: Set to #t, as no go files in project's root.
<phases>: Use default 'check.
Change-Id: Iebc123fd8c103d6d610cc037bb034cb75bb795e3
Diffstat (limited to 'gnu/packages/golang-build.scm')
-rw-r--r-- | gnu/packages/golang-build.scm | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm index 1a1cbafe5d..1e1ece2b4c 100644 --- a/gnu/packages/golang-build.scm +++ b/gnu/packages/golang-build.scm @@ -732,17 +732,8 @@ loading algorithms.") (build-system go-build-system) (arguments (list - #:import-path "golang.org/x/sync" - #:phases - #~(modify-phases %standard-phases - ;; XXX: Workaround for go-build-system's lack of Go modules - ;; support. - (delete 'build) - (replace 'check - (lambda* (#:key tests? import-path #:allow-other-keys) - (when tests? - (with-directory-excursion (string-append "src/" import-path) - (invoke "go" "test" "-v" "./...")))))))) + #:skip-build? #t + #:import-path "golang.org/x/sync")) (home-page "https://go.googlesource.com/sync/") (synopsis "Additional Go concurrency primitives") (description |