3
0
Fork 0
forked from mirrors/nixpkgs

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:
Shea Levy 2014-02-03 18:10:38 -05:00
parent 34638ebc1e
commit 9cf29b7039
2 changed files with 4 additions and 1 deletions

View file

@ -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/

View file

@ -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";