diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-19 23:51:18 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:42:11 +0000 |
commit | 73979b7e764cd9e2b3d1b69a86c7f1ce32f37fc4 (patch) | |
tree | cc15e3dfb7c58b73f7d481e8889ce15fa6d1cb5d | |
parent | 3dd482af7b014dd45ce6886214df8ff728c7d972 (diff) |
gnu: go-golang-org-x-time: Simplify.
* gnu/packages/golang-build.scm (go-golang-org-x-time):
[arguments] <skip-build?>: Set to #t, as no go files in project's root.
<phases>: Use default 'check.
Change-Id: I533cc20e9ba1be1ee754dd7fa36b9547d4bda9b6
-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 36f6092117..4b6ef9fb53 100644 --- a/gnu/packages/golang-build.scm +++ b/gnu/packages/golang-build.scm @@ -969,17 +969,8 @@ processing.") (build-system go-build-system) (arguments (list - #:import-path "golang.org/x/time" - #: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/time")) (home-page "https://godoc.org/golang.org/x/time/rate") (synopsis "Supplemental Go time libraries") (description |