guix-commits
[Top][All Lists]
Advanced

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

39/44: gnu: ghc-zlib: Find zlib headers and library.


From: guix-commits
Subject: 39/44: gnu: ghc-zlib: Find zlib headers and library.
Date: Fri, 17 Jul 2020 08:33:41 -0400 (EDT)

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

commit dc280ec84c6b2a0006d4e8dd0b5c1219d51f4ef6
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Jun 27 22:27:13 2020 +0200

    gnu: ghc-zlib: Find zlib headers and library.
    
    This is a follow-up to commit efdb7898f204cafab090684a40b03d8061890358.
    
    * gnu/packages/haskell-xyz.scm (ghc-zlib)[arguments]: Inform the build 
system
    about the zlib package's "lib" and "include" directories.
---
 gnu/packages/haskell-xyz.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 913a417..6d6c117 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -14550,7 +14550,12 @@ modifying, and extracting files from zip archives in 
Haskell.")
          "1l11jraslcrp9d4wnhwfyhwk4fsiq1aq8i6vj81vcq1m2zzi1y7h"))))
     (build-system haskell-build-system)
     (arguments
-     `(#:phases
+     `(#:configure-flags
+       (list (string-append "--extra-lib-dirs="
+                            (assoc-ref %build-inputs "zlib") "/lib")
+             (string-append "--extra-include-dirs="
+                            (assoc-ref %build-inputs "zlib") "/include"))
+       #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'strip-test-framework-constraints
            (lambda _



reply via email to

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