summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Sample <samplet@ngyro.com>2018-08-29 01:23:22 -0400
committerRicardo Wurmus <rekado@elephly.net>2018-10-01 12:12:22 +0200
commit003ec2c8f08265b9e605268981e331e4b4fff6b2 (patch)
treeefacb863c86bc0783f97210bedff7a91db144f35
parent1b29af3d16ef9f8636031c8136e50be8abeef5f0 (diff)
downloadgnu-guix-003ec2c8f08265b9e605268981e331e4b4fff6b2.tar
gnu-guix-003ec2c8f08265b9e605268981e331e4b4fff6b2.tar.gz
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.
-rw-r--r--gnu/packages/haskell.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index f153b48034..170d3bdc5d 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