mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-github-com-shadowsocks-go-shadowsocks2: Simplify.
* gnu/packages/golang-crypto.scm (go-github-com-shadowsocks-go-shadowsocks2) [arguments] <phases>: Use default 'check. Change-Id: I3a82a65b93a44a90804989a75d7238918702e4bf
This commit is contained in:
parent
871cb6c803
commit
93ef69c0fc
1 changed files with 1 additions and 10 deletions
|
@ -1702,16 +1702,7 @@ seed} Go's random number generator (if possible).")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/shadowsocks/go-shadowsocks2"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; XXX: Workaround for go-build-system's lack of Go modules
|
||||
;; support.
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(invoke "go" "test" "-v" "./..."))))))))
|
||||
#:import-path "github.com/shadowsocks/go-shadowsocks2"))
|
||||
(propagated-inputs
|
||||
(list go-github-com-riobard-go-bloom
|
||||
go-golang-org-x-crypto))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue