gnu: ghc-bsb-http-chunked: Don't run tests when cross-compiling.

* gnu/packages/haskell-web.scm
  (ghc-bsb-http-chunked)[arguments]<#:tests?>: Set to #false when
  cross-compiling.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Maxime Devos 2022-03-04 13:01:19 +00:00 committed by Maxim Cournoyer
parent fbc46b61da
commit 662f1f7bba
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -603,8 +603,9 @@ (define-public ghc-bsb-http-chunked
(arguments
`(;; XXX: As of 0.0.4, one property test ("Identical output as Blaze")
;; fails on i686-linux.
#:tests? ,(not (string-prefix? "i686" (or (%current-target-system)
(%current-system))))
#:tests? ,(and (not (%current-target-system))
(not (string-prefix? "i686" (or (%current-target-system)
(%current-system)))))
#:cabal-revision
("3" "15hg352id2f4x0dnvv47bdiz6gv5hp5a2mki9yzmhc7ajpk31mdd")))
(native-inputs