rekado pushed a commit to branch wip-haskell-updates
in repository guix.
commit ad947dcc4e6fbbf9bc61475da45ae40252ad99c3
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Thu Jun 25 00:02:37 2020 +0200
gnu: ghc-libyaml: Add libyaml via --extra-lib-dirs.
This is a follow-up to commit efdb7898f204cafab090684a40b03d8061890358.
* gnu/packages/haskell-xyz.scm (ghc-libyaml)[arguments]: Inform the build
system about the libyaml "lib" directory via the --extra-lib-dirs configure
option.
---
gnu/packages/haskell-xyz.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index a0bce28..65140e1 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -6882,7 +6882,10 @@ compiler versions.")
#t))))
(build-system haskell-build-system)
(arguments
- `(#:configure-flags `("--flags=system-libyaml")))
+ `(#:configure-flags
+ (list "--flags=system-libyaml"
+ (string-append "--extra-lib-dirs="
+ (assoc-ref %build-inputs "libyaml") "/lib"))))
(inputs
`(("ghc-conduit" ,ghc-conduit)
("ghc-resourcet" ,ghc-resourcet)