From 9aa17266dd72392138a746035cfbef78d5f9cb90 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 6 Nov 2024 11:46:21 +0200 Subject: gnu: go-github-com-fxamacker-cbor-v2: Disable tests when cross-compiling. * gnu/packages/golang-xyz.scm (go-github-com-fxamacker-cbor-v2) [arguments]: Also disable the tests when cross-compiling. Change-Id: If29c432399e59aed7947f513aa8c3a01315d30db --- gnu/packages/golang-xyz.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/golang-xyz.scm') diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 7989b2d767..c8db6ae479 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -2766,7 +2766,8 @@ quoting, commenting, and escaping.") ;; XXX: Check if the most of the tests may be enabled: ;; src/github.com/fxamacker/cbor/v2/decode_test.go:328:9: cannot convert ;; 1000000000000 (untyped int constant) to type uint - #:tests? (target-64bit?) + #:tests? (and (target-64bit?) + (not (%current-target-system))) #:import-path "github.com/fxamacker/cbor/v2")) (propagated-inputs (list go-github-com-x448-float16)) -- cgit 1.4.1