From e41ce3a5c160f5e752766ee28297f648c99ee703 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 19 Dec 2024 23:48:11 +0000 Subject: [PATCH] gnu: go-golang-org-x-sys: Simplify. * gnu/packages/golang-build.scm (go-golang-org-x-sys): [arguments] : Set to #t, as no go files in project's root. : Use default 'check. [description]: Start from a new line. Change-Id: If62fa5926652a53cfe4c680d9a21b2ad5847cfeb --- gnu/packages/golang-build.scm | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm index 0ad04dfb605..bdc87c31c10 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