guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit f22c81a80bd49efd36dec6ff447d029a239986a6
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Jun 12 21:23:53 2026 +0100
gnu: go-github-com-golang-protobuf: Improve package.
* gnu/packages/golang-build.scm (go-github-com-golang-protobuf):
[arguments] <skip-build?>: Utilize parameter instead of deleting {build}
phase.
Change-Id: I6e9acdc58ce0885a88821c771b64437a90041289
---
gnu/packages/golang-build.scm | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index 021948b5cf..5cc3f3af0d 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -258,18 +258,16 @@ functions that have a name matched by regex:.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/golang/protobuf")
- (commit (string-append "v" version))))
+ (url "https://github.com/golang/protobuf")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1bk7sa9ymi87hd2fv9jamxnxb3qjriamf2nsm8avp6ka37mrkz01"))))
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/golang/protobuf"
- #:phases
- #~(modify-phases %standard-phases
- (delete 'build)))) ; no go files in project's root
+ #:skip-build? #t
+ #:import-path "github.com/golang/protobuf"))
(native-inputs
(list go-github-com-google-go-cmp))
(propagated-inputs