llvm-3.4: Try to fix build on darwin

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2014-02-02 19:47:59 -05:00
parent 710ddf7662
commit 86c587134b

View File

@ -25,7 +25,7 @@ in stdenv.mkDerivation rec {
mv compiler-rt-${version} $sourceRoot/projects/compiler-rt
'';
buildInputs = [ perl groff cmake libxml2 python libffi valgrind ncurses ];
buildInputs = [ perl groff cmake libxml2 python libffi ncurses ] ++ stdenv.lib.optional stdenv.isLinux valgrind;
# hacky fix: created binaries need to be run before installation
preBuild = ''
@ -50,6 +50,6 @@ in stdenv.mkDerivation rec {
homepage = http://llvm.org/;
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ shlevy lovek323 raskin viric ];
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.all;
};
}