mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-10 21:29:09 -05:00
gnu: go-github-com-pkg-errors: Disable tests.
* gnu/packages/golang.scm (go-github-com-pkg-errors): Disable tests. Change-Id: Ia1f023574e6dc4be170ad4919b6c76fdf18eb54f
This commit is contained in:
parent
869457aadf
commit
84ef00efdf
1 changed files with 7 additions and 9 deletions
|
@ -5627,6 +5627,8 @@ (define-public go-github-com-lunixbochs-vtclean
|
||||||
optionally preserving color.")
|
optionally preserving color.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
;; XXX: This repository has been archived by the owner on Dec 1, 2021. It is
|
||||||
|
;; now read-only.
|
||||||
(define-public go-github-com-pkg-errors
|
(define-public go-github-com-pkg-errors
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-pkg-errors")
|
(name "go-github-com-pkg-errors")
|
||||||
|
@ -5643,15 +5645,11 @@ (define-public go-github-com-pkg-errors
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:import-path "github.com/pkg/errors"
|
;; Tests fail with a newer version of Golang (1.21) due to some API
|
||||||
#:phases
|
;; changes in how the module path is calculated which is not reflected
|
||||||
#~(modify-phases %standard-phases
|
;; in tests.
|
||||||
(replace 'check
|
#:tests? #f
|
||||||
(lambda* (#:key inputs #:allow-other-keys #:rest args)
|
#:import-path "github.com/pkg/errors"))
|
||||||
(unless
|
|
||||||
;; The tests fail when run with gccgo.
|
|
||||||
(false-if-exception (search-input-file inputs "/bin/gccgo"))
|
|
||||||
(apply (assoc-ref %standard-phases 'check) args)))))))
|
|
||||||
(synopsis "Go error handling primitives")
|
(synopsis "Go error handling primitives")
|
||||||
(description "This package provides @code{error}, which offers simple
|
(description "This package provides @code{error}, which offers simple
|
||||||
error handling primitives in Go.")
|
error handling primitives in Go.")
|
||||||
|
|
Loading…
Reference in a new issue