From acd36c81722bf1fdb83787919ae4e419530194b0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 6 Nov 2024 11:42:27 +0200 Subject: gnu: go-github-com-libp2p-go-cidranger: Disable tests when cross-compiling. * gnu/packages/golang-web.scm (go-github-com-libp2p-go-cidranger) [arguments]: Also disable the tests when cross-compiling. Change-Id: I26df125d5a006ec9a4207a8e692eea38f7c48f1f --- gnu/packages/golang-web.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index dcbc37cea3..2c3e8e41c3 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -10,7 +10,7 @@ ;;; Copyright © 2020 Oleg Pykhalov ;;; Copyright © 2020 Ryan Prior ;;; Copyright © 2020 raingloom -;;; Copyright © 2020-2023 Efraim Flashner +;;; Copyright © 2020-2024 Efraim Flashner ;;; Copyright © 2021 Collin J. Doering ;;; Copyright © 2021 Philip McGrath ;;; Copyright © 2021 Raghav Gururajan @@ -2808,7 +2808,8 @@ router.") ;; src/github.com/libp2p/go-cidranger/trie_test.go:557:8: cannot use ;; 4294967295 (untyped int constant) as int value in assignment ;; (overflows). - #:tests? (target-64bit?) + #:tests? (and (target-64bit?) + (not (%current-target-system))) #:import-path "github.com/libp2p/go-cidranger")) (native-inputs (list go-github-com-stretchr-testify)) -- cgit v1.2.3