diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-08-13 13:51:35 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-08-13 16:44:58 +0200 |
commit | c18e4f3ec0804459e8c323c1eb9e2a348151342f (patch) | |
tree | 3fb630b1f9181ba8b8d42b06a158615f1e6f103c /gnu | |
parent | f79e4b1fcd2bf082610e868fbd4c9e5c505c9f49 (diff) | |
download | guix-c18e4f3ec0804459e8c323c1eb9e2a348151342f.tar.gz |
gnu: ghc-pandoc: Fix tests.
* gnu/packages/haskell-xyz.scm (ghc-pandoc)[arguments]: Add build phase "find-library".
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/haskell-xyz.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 3cf6a9f02b..ae6482276a 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) |