diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-08 09:45:01 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-08 10:00:29 +0100 |
| commit | f8bc382e55ebd61b1a345baf5d7b3a1b5021733c (patch) | |
| tree | f6fd952cf0eb6d5e4df6b1a36222e06f63e06e10 /gnu | |
| parent | 03237c4e72b68e75c892550986c0e1b1157d58e3 (diff) | |
gnu: go-gopkg-in-dnaeon-go-vcr-v4: Simplify.
* gnu/packages/golang-check.scm (go-gopkg-in-dnaeon-go-vcr-v4)
[arguments] <skip-build?>: Utilize this parameter instead of deleting
'build phase.
<phases>: Use default 'check.
Change-Id: I5c8e9599920fb012d2e067e70664be5a7df6de1c
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-check.scm | 13 |
1 files 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 |
