rekado pushed a commit to branch wip-haskell-updates
in repository guix.
commit 0b8b8f02ac9bc9bd691e7c4925e6417f43e0b69c
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Thu Jun 25 00:04:43 2020 +0200
gnu: ghc-hslua: Add --extra-lib-dirs configure option.
This is a follow-up to commit efdb7898f204cafab090684a40b03d8061890358.
* gnu/packages/haskell-xyz.scm (ghc-hslua)[arguments]: Inform the build
system
about the lua package's "lib" directory via the --extra-lib-dirs configure
option.
---
gnu/packages/haskell-xyz.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 60f1b9f..b6bc531 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -5890,7 +5890,11 @@ handler built in.")
"183bgl5jcx5y2r94lviqfw0a5w9089nxjd1z40k8vx9y2h60pm6j"))))
(build-system haskell-build-system)
(arguments
- `(#:configure-flags '("-fsystem-lua")))
+ `(#:configure-flags
+ (list "-fsystem-lua"
+ (string-append "--extra-lib-dirs="
+ (assoc-ref %build-inputs "lua")
+ "/lib"))))
(inputs
`(("lua" ,lua)
("ghc-exceptions" ,ghc-exceptions)