llvm: Propagate ncurses and zlib
Really shouldn't be needed with shared libs, should patch llvm-config Fixes #1601 Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
34638ebc1e
commit
9cf29b7039
@ -10,6 +10,7 @@
|
|||||||
, valgrind
|
, valgrind
|
||||||
, ncurses
|
, ncurses
|
||||||
, version
|
, version
|
||||||
|
, zlib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -27,6 +28,8 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ perl groff cmake libxml2 python libffi ncurses ] ++ stdenv.lib.optional stdenv.isLinux valgrind;
|
buildInputs = [ perl groff cmake libxml2 python libffi ncurses ] ++ stdenv.lib.optional stdenv.isLinux valgrind;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ ncurses zlib ];
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p $out/
|
mkdir -p $out/
|
||||||
|
@ -15,7 +15,7 @@ cabal.mkDerivation (self: {
|
|||||||
HUnit llvmGeneralPure mtl QuickCheck testFramework
|
HUnit llvmGeneralPure mtl QuickCheck testFramework
|
||||||
testFrameworkHunit testFrameworkQuickcheck2
|
testFrameworkHunit testFrameworkQuickcheck2
|
||||||
];
|
];
|
||||||
buildTools = [ llvmConfig ncurses zlib ];
|
buildTools = [ llvmConfig ];
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
meta = {
|
meta = {
|
||||||
description = "General purpose LLVM bindings";
|
description = "General purpose LLVM bindings";
|
||||||
|
Loading…
Reference in New Issue
Block a user