File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -32,24 +32,21 @@ 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
41- cmakeFlags =
42- [
43- ( lib . cmakeOptionType "path" "CLANG_RESOURCE_DIR"
44- "${ lib . getLib libclang } /lib/clang/${ lib . versions . major libclang . version } "
45- )
42+ cmakeFlags = [
43+ ( lib . cmakeOptionType "path" "CLANG_RESOURCE_DIR"
44+ "${ lib . getLib libclang } /lib/clang/${ lib . versions . major libclang . version } "
45+ )
4646
47- ( lib . cmakeBool "SPHINX_HTML" withHTML )
48- ( lib . cmakeBool "SPHINX_MAN" withManual )
49- ]
50- ++ lib . optionals stdenv . hostPlatform . isDarwin [
51- ( lib . cmakeOptionType "path" "Clang_DIR" "${ lib . getDev libclang } /lib/cmake/clang" )
52- ] ;
47+ ( lib . cmakeBool "SPHINX_HTML" withHTML )
48+ ( lib . cmakeBool "SPHINX_MAN" withManual )
49+ ] ;
5350
5451 doCheck = true ;
5552
You can’t perform that action at this time.
0 commit comments