guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/44: gnu: ghc-hslua: Add --extra-lib-dirs configure option.


From: guix-commits
Subject: 10/44: gnu: ghc-hslua: Add --extra-lib-dirs configure option.
Date: Fri, 17 Jul 2020 08:33:32 -0400 (EDT)

rekado pushed a commit to branch wip-haskell-updates
in repository guix.

commit 0b8b8f02ac9bc9bd691e7c4925e6417f43e0b69c
Author: Ricardo Wurmus <rekado@elephly.net>
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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]