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
1 changed files with 10 additions and 1 deletions

View File

@ -900,7 +900,16 @@ the current goroutine's ID.")
"0bg26pfg25vr16jmczig2m493mja2nxjxyswz3hha7avxw20rpi5"))))
(build-system go-build-system)
(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")
(description "This package provides a library for building command-line
interfaces in Go.")