castxml: fix build
This commit is contained in:
parent
2804d0814f
commit
c507165567
|
@ -25,13 +25,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
llvm
|
llvm.dev
|
||||||
] ++ lib.optionals (withManual || withHTML) [
|
] ++ lib.optionals (withManual || withHTML) [
|
||||||
sphinx
|
sphinx
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCLANG_RESOURCE_DIR=${libclang.dev}/lib/clang/${lib.getVersion libclang}/"
|
"-DCLANG_RESOURCE_DIR=${libclang.dev}/"
|
||||||
"-DSPHINX_HTML=${if withHTML then "ON" else "OFF"}"
|
"-DSPHINX_HTML=${if withHTML then "ON" else "OFF"}"
|
||||||
"-DSPHINX_MAN=${if withManual then "ON" else "OFF"}"
|
"-DSPHINX_MAN=${if withManual then "ON" else "OFF"}"
|
||||||
];
|
];
|
||||||
|
@ -40,6 +40,7 @@ stdenv.mkDerivation rec {
|
||||||
libffi
|
libffi
|
||||||
libxml2
|
libxml2
|
||||||
zlib
|
zlib
|
||||||
|
libclang
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue