From 59cd751852d1acab6eae6da0488d15cc743c2cc4 Mon Sep 17 00:00:00 2001 From: Timothy Sample Date: Mon, 18 Nov 2019 21:41:10 -0500 Subject: 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(+) (limited to 'gnu/packages/haskell-xyz.scm') diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 7bf97ae13c..fb6833207d 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") -- cgit v1.2.3