guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 16/16: gnu: ghc-bsb-http-chunked: Don't run tests when cross-compiling.
Date: Fri, 11 Mar 2022 23:43:26 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit 662f1f7bbac54d5762a06862b6174977003f46b9
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Mar 4 13:01:19 2022 +0000

    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>
---
 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]