guix-commits
[Top][All Lists]
Advanced

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

09/44: gnu: ghc-libyaml: Add libyaml via --extra-lib-dirs.


From: guix-commits
Subject: 09/44: gnu: ghc-libyaml: Add libyaml via --extra-lib-dirs.
Date: Fri, 17 Jul 2020 08:33:31 -0400 (EDT)

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

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



reply via email to

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