From 1166035acb4e1b0dc61bf9122b68f2afa0c35790 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 27 Aug 2024 14:03:38 +0100 Subject: [PATCH] gnu: go-github-com-prometheus-client-golang: Disable tests on non 64bit architecture. As seen in CI . * gnu/packages/gnu/packages/prometheus.scm (go-github-com-prometheus-client-golang): Disable tests on non 64bit architecture. Change-Id: Ic2f23e1aec24e72056741d4f6fe1fa479bf5e60e --- gnu/packages/prometheus.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/prometheus.scm b/gnu/packages/prometheus.scm index b10bb44a5f..71b4646f6a 100644 --- a/gnu/packages/prometheus.scm +++ b/gnu/packages/prometheus.scm @@ -142,6 +142,10 @@ (define-public go-github-com-prometheus-client-golang (build-system go-build-system) (arguments (list + ;; XXX: Check if the most of the tests may be enabled: + ;; api/prometheus/v1/api_test.go:1063:23: cannot use 1634644800304 + ;; (untyped int constant) as int value in map literal (overflows) + #:tests? (target-64bit?) #:import-path "github.com/prometheus/client_golang" #:phases #~(modify-phases %standard-phases