summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-01-01 16:47:29 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:42:43 +0000
commit0f510fc044b817285de6bcccfa0cd4573cc3db4b (patch)
tree10b936448be53b687aaeb654da5c7bab5c6d2631 /gnu/packages/golang-check.scm
parentbaba666a6f735d6855b6281042283ce525524236 (diff)
gnu: go-github-com-golangplus-testing: Fix tests.
These changes need to be applied together to allow bootstrapping of missing inputs. * gnu/packages/golang-check.scm (go-github-com-golangplus-testing-bootstrap): New variable. (go-github-com-golangplus-testing) [native-inputs]: Add go-github-com-golangplus-bytes-bootstrap. * gnu/packages/golang-xyz.scm (go-github-com-golangplus-bytes): New variable. Change-Id: Ib97363281fc9a169a734a63197db70a3ce8f9d48
Diffstat (limited to 'gnu/packages/golang-check.scm')
-rw-r--r--gnu/packages/golang-check.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index be36e7503f..3061731ad1 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -631,12 +631,25 @@ package, but can be used in other contexts too.")
(build-system go-build-system)
(arguments
'(#:import-path "github.com/golangplus/testing"))
+ (native-inputs
+ (list go-github-com-golangplus-bytes-bootstrap))
(propagated-inputs
(list go-github-com-golangplus-fmt))
(synopsis "Additions to Go's standard testing package")
(description "This package provides additions to Go's stdlib testing.")
(license license:bsd-3)))
+(define-public go-github-com-golangplus-testing-bootstrap
+ (hidden-package
+ (package
+ (inherit go-github-com-golangplus-testing)
+ (arguments
+ (list #:skip-build? #t
+ #:tests? #f
+ #:import-path "github.com/golangplus/testing"))
+ (native-inputs '())
+ (propagated-inputs '()))))
+
(define-public go-github-com-google-gofuzz
(package
(name "go-github-com-google-gofuzz")