mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 10:30:43 +02:00
gnu: go-github-com-golang-protobuf: Simplify.
* gnu/packages/golang-build.scm (go-github-com-golang-protobuf): Update to 1.5.4. [arguments] <phases>: Use default 'check. Change-Id: If364ed26dc2eb3006264b627696d57536c9aa7b8
This commit is contained in:
parent
5e2566906a
commit
dd4ee37f9a
1 changed files with 1 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue