mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
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:
parent
d00f88603d
commit
cb9f69c052
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user