guix-commits
[Top][All Lists]
Advanced

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

329/329: gnu: ghc-foundation: Disable broken test.


From: guix-commits
Subject: 329/329: gnu: ghc-foundation: Disable broken test.
Date: Wed, 20 Nov 2019 21:18:57 -0500 (EST)

samplet pushed a commit to branch master
in repository guix.

commit 59cd751852d1acab6eae6da0488d15cc743c2cc4
Author: Timothy Sample <address@hidden>
Date:   Mon Nov 18 21:41:10 2019 -0500

    gnu: ghc-foundation: Disable broken test.
    
    * gnu/packages/haskell-xyz.scm (ghc-foundation)[arguments]: Add a phase
    that patches out a broken test.
---
 gnu/packages/haskell-xyz.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 7bf97ae..fb68332 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -4140,6 +4140,16 @@ and are often as efficient as hand-written folds.")
         (base32
          "0q6kx57ygmznlpf8n499hid4x6mj3180paijx0a8dgi9hh7man61"))))
     (build-system haskell-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; This test is broken.  For details, see
+         ;; https://github.com/haskell-foundation/foundation/issues/530
+         (add-after 'unpack 'patch-tests
+           (lambda _
+             (substitute* "tests/Test/Foundation/Number.hs"
+               ((", testDividible proxy") ""))
+             #t)))))
     (inputs `(("ghc-basement" ,ghc-basement)))
     (home-page "https://github.com/haskell-foundation/foundation";)
     (synopsis "Alternative prelude with batteries and no dependencies")



reply via email to

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