guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/28: gnu: go-github-com-kylelemons-godebug: Simplify.


From: guix-commits
Subject: 05/28: gnu: go-github-com-kylelemons-godebug: Simplify.
Date: Thu, 2 Jan 2025 12:14:57 -0500 (EST)

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

commit 297ece9112ad7a6d9d9cd141c65de53d9df300b5
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Jan 1 15:02:08 2025 +0000

    gnu: go-github-com-kylelemons-godebug: Simplify.
    
    * gnu/packages/golang-xyz.scm (go-github-com-kylelemons-godebug)
    [arguments] <skip-build?>: No go files in project's root.
    <phases>: Use default 'check.
    
    Change-Id: I420cb48ec6a51698eac47ae51dcdb455aeae4e49
---
 gnu/packages/golang-xyz.scm | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7482b60a6e..28576da79f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7668,16 +7668,8 @@ allocation.  @code{fastime} is returning the approximate 
time.")
     (build-system go-build-system)
     (arguments
      (list
-      #:import-path "github.com/kylelemons/godebug"
-      #:phases
-      #~(modify-phases %standard-phases
-          ;; XXX: Replace when go-build-system supports nested path.
-          (delete 'build)
-          (replace 'check
-            (lambda* (#:key import-path tests? #:allow-other-keys)
-              (when tests?
-                (with-directory-excursion (string-append "src/" import-path)
-                  (invoke "go" "test" "-v" "./..."))))))))
+      #:skip-build? #t
+      #:import-path "github.com/kylelemons/godebug"))
     (home-page "https://github.com/kylelemons/godebug";)
     (synopsis "Pretty printer for Go values")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]