1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 18:40:57 +02: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:
Sharlatan Hellseher 2025-01-09 12:48:56 +00:00
parent 5f0bb92451
commit 9afa4eb17c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -13255,15 +13255,7 @@ supported by the time package
(build-system go-build-system)
(arguments
(list
#: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" "./..."))))))))
#:import-path "github.com/twpayne/go-vfs/v5"))
(native-inputs
(list go-github-com-alecthomas-assert-v2))
(home-page "https://github.com/twpayne/go-vfs/")