This is an automated email from the git hooks/post-receive script.

sharlatan pushed a commit to branch go-team
in repository guix.

The following commit(s) were added to refs/heads/go-team by this push:
     new 952b7aefa5 gnu: go-github-com-cskr-pubsub: Fix tests.
952b7aefa5 is described below

commit 952b7aefa5af68562ce67adc5c56bf39d3b1ecf8
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sat Mar 1 08:12:02 2025 +0000

    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
---
 gnu/packages/golang-xyz.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 4e2c4c9061..6145268d89 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4095,7 +4095,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

Reply via email to