mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
3dd482af7b
commit
73979b7e76
1 changed files with 2 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue