~ruther/guix-local

9aa17266dd72392138a746035cfbef78d5f9cb90 — Efraim Flashner 2 years ago 143927a
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
1 files changed, 2 insertions(+), 1 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +2 -1
@@ 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))