From 662f1f7bbac54d5762a06862b6174977003f46b9 Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Fri, 4 Mar 2022 13:01:19 +0000 Subject: 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 --- gnu/packages/haskell-web.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 34dd2556be..70a4eccce6 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -603,8 +603,9 @@ Haskell's Web Application Interface (WAI).") (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 -- cgit v1.2.3