mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 18:40:57 +02:00
gnu: go-golang-org-x-sys: Simplify.
* gnu/packages/golang-build.scm (go-golang-org-x-sys): [arguments] <skip-build?>: Set to #t, as no go files in project's root. <phases>: Use default 'check. [description]: Start from a new line. Change-Id: If62fa5926652a53cfe4c680d9a21b2ad5847cfeb
This commit is contained in:
parent
d77e794d20
commit
e41ce3a5c1
1 changed files with 5 additions and 13 deletions
|
@ -776,21 +776,13 @@ cancelation for groups of goroutines working on subtasks of a common task
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "golang.org/x/sys"
|
||||
#: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/sys"))
|
||||
(home-page "https://go.googlesource.com/sys")
|
||||
(synopsis "Go support for low-level system interaction")
|
||||
(description "This package provides supplemental libraries offering Go
|
||||
support for low-level interaction with the operating system.")
|
||||
(description
|
||||
"This package provides supplemental libraries offering Go support for
|
||||
low-level interaction with the operating system.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public go-golang-org-x-sys-bootstrap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue