Skip to content

Commit a28796b

Browse files
committed
Revert "castxml: fix build on darwin"
workaround for clang is no longer needed after change 8c9c8ad fixed cmake This reverts commit 94490fd.
1 parent e236bf6 commit a28796b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkgs/by-name/ca/castxml/package.nix

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ stdenv.mkDerivation (finalAttrs: {
3232
nativeBuildInputs = [ cmake ] ++ lib.optionals (withManual || withHTML) [ sphinx ];
3333

3434
buildInputs = [
35+
libclang
3536
libffi
3637
libxml2
3738
llvm
3839
zlib
39-
] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ libclang ];
40+
];
4041

4142
cmakeFlags =
4243
[
@@ -46,9 +47,6 @@ stdenv.mkDerivation (finalAttrs: {
4647

4748
(lib.cmakeBool "SPHINX_HTML" withHTML)
4849
(lib.cmakeBool "SPHINX_MAN" withManual)
49-
]
50-
++ lib.optionals stdenv.hostPlatform.isDarwin [
51-
(lib.cmakeOptionType "path" "Clang_DIR" "${lib.getDev libclang}/lib/cmake/clang")
5250
];
5351

5452
doCheck = true;

0 commit comments

Comments
 (0)