stdenv/darwin: enable tapi support in cctools

This commit is contained in:
Andrew Childs
2020-08-21 01:09:42 +09:00
parent b418d4c6a4
commit 630f5d30df
3 changed files with 9 additions and 10 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
{ lib, stdenv, fetchFromGitHub, cmake, python3, ncurses }:
stdenv.mkDerivation {
name = "libtapi-1000.10.8";
@@ -13,6 +13,10 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake python3 ];
# ncurses is required here to avoid a reference to bootstrap-tools, which is
# not allowed for the stdenv.
buildInputs = [ ncurses ];
cmakeFlags = [ "-DLLVM_INCLUDE_TESTS=OFF" ];
# fixes: fatal error: 'clang/Basic/Diagnostic.h' file not found