diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-19 23:48:11 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:42:10 +0000 |
commit | e41ce3a5c160f5e752766ee28297f648c99ee703 (patch) | |
tree | 1fa0593419e5abe2534dba5dd1e0c2941d47c470 /gnu/packages/golang-build.scm | |
parent | d77e794d20b76bc99a0284ab6451204b5987c1c2 (diff) |
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
Diffstat (limited to 'gnu/packages/golang-build.scm')
-rw-r--r-- | gnu/packages/golang-build.scm | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm index 0ad04dfb60..bdc87c31c1 100644 --- a/gnu/packages/golang-build.scm +++ b/gnu/packages/golang-build.scm @@ -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 |