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

commit d291b4e832c608e791466cfe7be02c5fa1d7f217
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 29 16:26:58 2024 +0000

    gnu: go-github-com-shadowsocks-go-shadowsocks2: Simplify.
    
    * gnu/packages/golang-crypto.scm (go-github-com-shadowsocks-go-shadowsocks2)
    [arguments] <phases>: Use default 'check.
    
    Change-Id: I3a82a65b93a44a90804989a75d7238918702e4bf
---
 gnu/packages/golang-crypto.scm | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 49733cf3c4..914ff0cc38 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -1702,16 +1702,7 @@ seed} Go's random number generator (if possible).")
     (build-system go-build-system)
     (arguments
      (list
-      #:import-path "github.com/shadowsocks/go-shadowsocks2"
-      #:phases
-      #~(modify-phases %standard-phases
-          ;; XXX: Workaround for go-build-system's lack of Go modules
-          ;; support.
-          (replace 'check
-            (lambda* (#:key tests? import-path #:allow-other-keys)
-              (when tests?
-                (with-directory-excursion (string-append "src/" import-path)
-                  (invoke "go" "test" "-v" "./..."))))))))
+      #:import-path "github.com/shadowsocks/go-shadowsocks2"))
     (propagated-inputs
      (list go-github-com-riobard-go-bloom
            go-golang-org-x-crypto))

Reply via email to