gnu: ghc-foundation: Disable broken test.

* gnu/packages/haskell-xyz.scm (ghc-foundation)[arguments]: Add a phase
that patches out a broken test.
This commit is contained in:
Timothy Sample 2019-11-18 21:41:10 -05:00
parent b0d34d23a0
commit 59cd751852
No known key found for this signature in database
GPG key ID: 2AC6A5EC1C357C59

View file

@ -4140,6 +4140,16 @@ (define-public ghc-foundation
(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")