diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-03-01 08:12:02 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-05-26 16:50:29 +0100 |
commit | 6394396c7dfec5403a16c99a5aee3596d696f4cb (patch) | |
tree | 96d74ed1a8f5c7d25433068f9d35b183f11b9c38 /gnu/packages/golang-xyz.scm | |
parent | 72fafdd7c045fcb53d329106d108722c4a86f31b (diff) |
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
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r-- | gnu/packages/golang-xyz.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 7cb0707426..0cf37d7336 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -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 |