Revert "castxml: fix build on darwin"

workaround for clang is no longer needed after change 8c9c8ade2f fixed cmake

This reverts commit 94490fd531.
This commit is contained in:
Reno Dakota
2024-10-14 21:29:03 +00:00
parent e236bf6b33
commit a28796b8c0
+2 -4
View File
@@ -32,11 +32,12 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ cmake ] ++ lib.optionals (withManual || withHTML) [ sphinx ];
buildInputs = [
libclang
libffi
libxml2
llvm
zlib
] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ libclang ];
];
cmakeFlags =
[
@@ -46,9 +47,6 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "SPHINX_HTML" withHTML)
(lib.cmakeBool "SPHINX_MAN" withManual)
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
(lib.cmakeOptionType "path" "Clang_DIR" "${lib.getDev libclang}/lib/cmake/clang")
];
doCheck = true;