rekado pushed a commit to branch master
in repository guix.
commit 003ec2c8f08265b9e605268981e331e4b4fff6b2
Author: Timothy Sample <[email protected]>
Date: Wed Aug 29 01:23:22 2018 -0400
gnu: ghc-pandoc-citeproc: Update to 0.14.3.1.
* gnu/packages/haskell.scm (ghc-pandoc-citeproc): Update to 0.14.3.1.
[arguments]: Add a phase to disable some failing YAML tests.
---
gnu/packages/haskell.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index f153b48..170d3bd 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7207,6 +7207,13 @@ the @code{conduit} package.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
+ ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
+ (add-before 'configure 'patch-tests
+ (lambda _
+ (substitute* "tests/test-pandoc-citeproc.hs"
+ (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
+ "let allTests = citeprocTests"))))
;; Tests need to be run after installation.
(delete 'check)
(add-after 'install 'post-install-check