rekado pushed a commit to branch wip-haskell-updates
in repository guix.
commit 407665494e3c2886ea9be1c13690e93fecc9e1c6
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 f6e7904..60f1b9f 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)