1
Fork 0
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:
Sharlatan Hellseher 2024-12-19 23:48:11 +00:00
parent d77e794d20
commit e41ce3a5c1
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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