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
|
||||
, ncurses
|
||||
, version
|
||||
, zlib
|
||||
}:
|
||||
|
||||
let
|
||||
@ -27,6 +28,8 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
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
|
||||
preBuild = ''
|
||||
mkdir -p $out/
|
||||
|
@ -15,7 +15,7 @@ cabal.mkDerivation (self: {
|
||||
HUnit llvmGeneralPure mtl QuickCheck testFramework
|
||||
testFrameworkHunit testFrameworkQuickcheck2
|
||||
];
|
||||
buildTools = [ llvmConfig ncurses zlib ];
|
||||
buildTools = [ llvmConfig ];
|
||||
doCheck = false;
|
||||
meta = {
|
||||
description = "General purpose LLVM bindings";
|
||||
|
Loading…
Reference in New Issue
Block a user