gnu: go-github-com-audriusbutkevicius-cli: Fix tests for go-1.11.

* gnu/packages/syncthing.scm (go-github-com-audriusbutkevicius-cli): Fix tests for go-1.11.
This commit is contained in:
Pierre Neidhardt 2018-11-06 18:10:09 +01:00
parent 46a37b5966
commit d4780c8238
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -900,7 +900,16 @@ (define-public go-github-com-audriusbutkevicius-cli
"0bg26pfg25vr16jmczig2m493mja2nxjxyswz3hha7avxw20rpi5")))) "0bg26pfg25vr16jmczig2m493mja2nxjxyswz3hha7avxw20rpi5"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
'(#:import-path "github.com/AudriusButkevicius/cli")) '(#:import-path "github.com/AudriusButkevicius/cli"
;; Tests don't pass "vet" on go-1.11. See
;; https://github.com/AudriusButkevicius/cli/pull/1.
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key import-path #:allow-other-keys)
(invoke "go" "test"
"-vet=off"
import-path))))))
(synopsis "Library for building command-line interfaces in Go") (synopsis "Library for building command-line interfaces in Go")
(description "This package provides a library for building command-line (description "This package provides a library for building command-line
interfaces in Go.") interfaces in Go.")