[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)
- 08/44: gnu: Add "static" output to Haskell packages with custom outputs., (continued)
- 08/44: gnu: Add "static" output to Haskell packages with custom outputs., guix-commits, 2020/07/17
- 13/44: gnu: ghc-crypto-api-tests: Add "doc" output., guix-commits, 2020/07/17
- 12/44: gnu: ghc-hspec: Add "doc" output., guix-commits, 2020/07/17
- 14/44: gnu: ghc-cryptonite: Add "doc" output., guix-commits, 2020/07/17
- 16/44: gnu: ghc-aeson: Add "doc" output., guix-commits, 2020/07/17
- 07/44: build-system/haskell: Configure to link with shared libraries., guix-commits, 2020/07/17
- 05/44: haskell-build-system: register: Remove references to the doc output., guix-commits, 2020/07/17
- 09/44: gnu: ghc-libyaml: Add libyaml via --extra-lib-dirs., guix-commits, 2020/07/17
- 21/44: gnu: ghc-cmdargs: Add "doc" output., guix-commits, 2020/07/17
- 22/44: gnu: ghc-conduit: Add "doc" output., guix-commits, 2020/07/17
- 10/44: gnu: ghc-hslua: Add --extra-lib-dirs configure option.,
guix-commits <=
- 11/44: gnu: ghc-8.6: Remove unnecessary references., guix-commits, 2020/07/17
- 15/44: gnu: ghc-blaze-html: Add "doc" output., guix-commits, 2020/07/17
- 17/44: gnu: ghc-hxt: Add "doc" output., guix-commits, 2020/07/17
- 18/44: gnu: ghc-base-compat: Add "doc" output., guix-commits, 2020/07/17
- 20/44: gnu: ghc-base-prelude: Add "doc" output., guix-commits, 2020/07/17
- 19/44: gnu: ghc-basement: Add "doc" output., guix-commits, 2020/07/17
- 23/44: gnu: ghc-foldl: Add "doc" output., guix-commits, 2020/07/17
- 24/44: gnu: ghc-foundation: Add "doc" output., guix-commits, 2020/07/17
- 25/44: gnu: ghc-free: Add "doc" output., guix-commits, 2020/07/17
- 26/44: gnu: ghc-generic-deriving: Add "doc" output., guix-commits, 2020/07/17