From dd4ee37f9af03d4dc4836d92d2ff096c8d10f299 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 20 Dec 2024 00:17:14 +0000 Subject: [PATCH] gnu: go-github-com-golang-protobuf: Simplify. * gnu/packages/golang-build.scm (go-github-com-golang-protobuf): Update to 1.5.4. [arguments] : Use default 'check. Change-Id: If364ed26dc2eb3006264b627696d57536c9aa7b8 --- gnu/packages/golang-build.scm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm index d53045372d..36bda3d48c 100644 --- a/gnu/packages/golang-build.scm +++ b/gnu/packages/golang-build.scm @@ -136,14 +136,7 @@ functions that have a name matched by regex:.") #:import-path "github.com/golang/protobuf" #: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" "./...")))))))) + (delete 'build)))) ; no go files in project's root (native-inputs (list go-github-com-google-go-cmp)) (propagated-inputs