[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/44: gnu: ghc-pandoc: Fix tests.
From: |
guix-commits |
Subject: |
42/44: gnu: ghc-pandoc: Fix tests. |
Date: |
Thu, 13 Aug 2020 08:44:59 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit d122983bd12db3be239dedb9bfc1d04898b9ba21
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Aug 13 13:51:35 2020 +0200
gnu: ghc-pandoc: Fix tests.
* gnu/packages/haskell-xyz.scm (ghc-pandoc)[arguments]: Add build phase
"find-library".
---
gnu/packages/haskell-xyz.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index a3311f9..d6510e3 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8762,6 +8762,17 @@ code. It was designed for use in @code{Pandoc}.")
(base32
"0dpjrr40h54cljzhvixyym07z792a9izg6b9dmqpjlgcg4rj0xx8"))))
(build-system haskell-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'find-library
+ (lambda _
+ (substitute* "test/Tests/Command.hs"
+ (("= dynlibEnv")
+ (format #f "= [(\"LD_LIBRARY_PATH\" , \"~a/dist/build\")]"
+ (getcwd))))
+ #t)))))
+ (outputs '("out" "static" "doc"))
(inputs
`(("ghc-aeson" ,ghc-aeson)
("ghc-aeson-pretty" ,ghc-aeson-pretty)
- 32/44: gnu: ghc-mono-traversable: Add "doc" output., (continued)
- 32/44: gnu: ghc-mono-traversable: Add "doc" output., guix-commits, 2020/08/13
- 33/44: gnu: ghc-profunctors: Add "doc" output., guix-commits, 2020/08/13
- 34/44: gnu: ghc-rebase: Add "doc" output., guix-commits, 2020/08/13
- 35/44: gnu: ghc-regex-tdfa: Add "doc" output., guix-commits, 2020/08/13
- 39/44: gnu: ghc-distributive: Update to 0.6.2., guix-commits, 2020/08/13
- 40/44: gnu: ghc-pandoc-types: Avoid embedding spurious references., guix-commits, 2020/08/13
- 41/44: gnu: ghc-http: Prevent embedding of spurious references., guix-commits, 2020/08/13
- 43/44: gnu: Add pandoc., guix-commits, 2020/08/13
- 38/44: gnu: ghc-unliftio: Add "doc" output., guix-commits, 2020/08/13
- 44/44: gnu: Add pandoc-citeproc., guix-commits, 2020/08/13
- 42/44: gnu: ghc-pandoc: Fix tests.,
guix-commits <=