1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 18:10:47 +02:00

gnu: go-github-com-cskr-pubsub: Fix tests.

* gnu/packages/golang-xyz.scm (go-github-com-cskr-pubsub) [arguments]
<phases>: Add 'remove-example.

Change-Id: I505f5def2567471cd36c1da0a5a0ff82eb1bbe3c
This commit is contained in:
Sharlatan Hellseher 2025-03-01 08:12:02 +00:00
parent 72fafdd7c0
commit 6394396c7d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4098,7 +4098,13 @@ values. It supports almost all kind of types: @code{int/8/16/32/64},
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/cskr/pubsub"))
#:import-path "github.com/cskr/pubsub"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-example
(lambda* (#:key tests? import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(delete-file "example_test.go")))))))
(home-page "https://github.com/cskr/pubsub")
(synopsis "Simple pubsub package for go")
(description