llvm: Don't depend on Python on Darwin

There already is a Python in /usr/bin, so we don't need to build
another one.
This commit is contained in:
Eelco Dolstra 2014-09-23 13:13:53 +02:00
parent d00f88603d
commit cb9f69c052

View file

@ -27,7 +27,10 @@ in stdenv.mkDerivation rec {
mv compiler-rt-* $sourceRoot/projects/compiler-rt
'';
buildInputs = [ perl groff cmake libxml2 python libffi ] ++ stdenv.lib.optional stdenv.isLinux valgrind;
buildInputs =
[ perl groff cmake libxml2 libffi ]
++ stdenv.lib.optional (!stdenv.isDarwin) python
++ stdenv.lib.optional stdenv.isLinux valgrind;
propagatedBuildInputs = [ ncurses zlib ];