mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-github-com-twpayne-go-vfs-v5: Simplify.
* gnu/packages/golang-xyz.scm (go-github-com-twpayne-go-vfs-v5) [arguments] <phases>: Use default 'check. Change-Id: I7857a7d9ab6334188ca8cb40ad71af2d7790298b
This commit is contained in:
parent
5f0bb92451
commit
9afa4eb17c
1 changed files with 1 additions and 9 deletions
|
@ -13255,15 +13255,7 @@ supported by the time package
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:import-path "github.com/twpayne/go-vfs/v5"
|
#:import-path "github.com/twpayne/go-vfs/v5"))
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
;; XXX: Replace when go-build-system supports nested path.
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key import-path tests? #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(with-directory-excursion (string-append "src/" import-path)
|
|
||||||
(invoke "go" "test" "-v" "./..."))))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-github-com-alecthomas-assert-v2))
|
(list go-github-com-alecthomas-assert-v2))
|
||||||
(home-page "https://github.com/twpayne/go-vfs/")
|
(home-page "https://github.com/twpayne/go-vfs/")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue