From f8bc382e55ebd61b1a345baf5d7b3a1b5021733c Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 8 Jul 2025 09:45:01 +0100 Subject: [PATCH] gnu: go-gopkg-in-dnaeon-go-vcr-v4: Simplify. * gnu/packages/golang-check.scm (go-gopkg-in-dnaeon-go-vcr-v4) [arguments] : Utilize this parameter instead of deleting 'build phase. : Use default 'check. Change-Id: I5c8e9599920fb012d2e067e70664be5a7df6de1c --- gnu/packages/golang-check.scm | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index d3df3fee3e7..3ab604a8c21 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -2511,17 +2511,8 @@ accurate testing of your code.") (base32 "1p1a4hbk303k2bv9dmaf770dml71zr3260g5z7yd84vzhj8i0rzb")))) (arguments (list - #:import-path "gopkg.in/dnaeon/go-vcr.v4" - #:phases - #~(modify-phases %standard-phases - ;; XXX: Workaround for go-build-system's lack of Go modules - ;; support. - (delete 'build) - (replace 'check - (lambda* (#:key tests? import-path #:allow-other-keys) - (when tests? - (with-directory-excursion (string-append "src/" import-path) - (invoke "go" "test" "-v" "./...")))))))))) + #:skip-build? #t + #:import-path "gopkg.in/dnaeon/go-vcr.v4")))) (define-public go-gopkg-in-go-playground-assert-v1 (package