sharlatan pushed a commit to branch master
in repository guix.

commit 436cd5a62557e51156ed893ada5aa01ad0e631b4
Author: Troy Figiel <[email protected]>
AuthorDate: Sun Feb 25 18:11:17 2024 +0100

    gnu: go-github-com-cheggaaa-pb-v3: Enable tests.
    
    * gnu/packages/golang.scm (go-github-com-cheggaaa-pb-v3): Enable tests.
    [arguments] <#:tests?>: Set to true.
    <#:unpack-path>: Set unpack-path to the repository root.
    
    Signed-off-by: Sharlatan Hellseher <[email protected]>
    Change-Id: Ic8b64dcf4717ff6a163d8a674e5e7c2c6d162b98
---
 gnu/packages/golang.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2eb63641f9..98e6739f42 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8770,9 +8770,7 @@ inspired by the causal messaging system in the Pony 
programming language.")
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/cheggaaa/pb/v3"
-       ;; XXX: it does have tests but I'm not sure how to run them.
-       ;; go-build-system is looking in the wrong directory.
-       #:tests? #f))
+       #:unpack-path "github.com/cheggaaa/pb"))
     (propagated-inputs
      (list go-golang-org-x-sys
            go-github-com-rivo-uniseg

Reply via email to