summaryrefslogtreecommitdiff
path: root/gnu/packages/golang.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <[email protected]>2024-07-12 12:30:28 +0100
committerSharlatan Hellseher <[email protected]>2024-07-15 12:17:50 +0100
commit84ef00efdfa3dd0a8fd91d91a73ff0faf7494199 (patch)
treecda8e6c61f8fae596ce3c682782009fcd9e52fca /gnu/packages/golang.scm
parent869457aadf48251d17f2b6644c0cc153e184a3eb (diff)
gnu: go-github-com-pkg-errors: Disable tests.
* gnu/packages/golang.scm (go-github-com-pkg-errors): Disable tests. Change-Id: Ia1f023574e6dc4be170ad4919b6c76fdf18eb54f
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r--gnu/packages/golang.scm16
1 files changed, 7 insertions, 9 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8b5e0fa747..083c597e22 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5627,6 +5627,8 @@ designed to clean up raw terminal output by stripping escape sequences,
optionally preserving color.")
(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
(package
(name "go-github-com-pkg-errors")
@@ -5643,15 +5645,11 @@ optionally preserving color.")
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/pkg/errors"
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs #:allow-other-keys #:rest args)
- (unless
- ;; The tests fail when run with gccgo.
- (false-if-exception (search-input-file inputs "/bin/gccgo"))
- (apply (assoc-ref %standard-phases 'check) args)))))))
+ ;; Tests fail with a newer version of Golang (1.21) due to some API
+ ;; changes in how the module path is calculated which is not reflected
+ ;; in tests.
+ #:tests? #f
+ #:import-path "github.com/pkg/errors"))
(synopsis "Go error handling primitives")
(description "This package provides @code{error}, which offers simple
error handling primitives in Go.")