From b4501ee8bc809e4b4f9a0f0e4e24fa98902fdf63 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 24 Dec 2024 10:21:06 +0000 Subject: [PATCH] gnu: go-gopkg-in-errgo-fmt-errors: Enable tests. * gnu/packages/golang.scm (go-gopkg-in-errgo-fmt-errors) [arguments] : Set to #t, as no go files in project's root. [native-inputs]: Add go-gopkg-in-check-v1. Change-Id: I04497ef63cd550911c6ccb870f08f902227a4ef4 --- gnu/packages/golang.scm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 30591000ad..5514a11239 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5194,12 +5194,11 @@ configuration languages, but other uses may be possible too.") "065mbihiy7q67wnql0bzl9y1kkvck5ivra68254zbih52jxwrgr2")))) (build-system go-build-system) (arguments - `(#:import-path "gopkg.in/errgo.v2" - #:tests? #f - ;; Source-only package - #:phases - (modify-phases %standard-phases - (delete 'build)))) + (list + #:skip-build? #t + #:import-path "gopkg.in/errgo.v2")) + (native-inputs + (list go-gopkg-in-check-v1)) (home-page "https://godoc.org/gopkg.in/errgo.v2") (synopsis "Functions that use the fmt package to format error messages") (description "This package is the same as @code{gopkg.in/errgo.v2/errors}