diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2021-05-07 15:09:34 -0700 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-05-08 01:29:18 -0700 |
commit | c50716556799d935fa555b3d105f1894b3afdf1e (patch) | |
tree | b86d9c3819ac2b6c26a8e8913eee7e265c0f9fe2 | |
parent | 2804d0814fbb2c05d71b56ca8ddfdee3344a8399 (diff) |
castxml: fix build
-rw-r--r-- | pkgs/development/tools/castxml/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/tools/castxml/default.nix b/pkgs/development/tools/castxml/default.nix index ce2641b239ed..a233288a28e8 100644 --- a/pkgs/development/tools/castxml/default.nix +++ b/pkgs/development/tools/castxml/default.nix @@ -25,13 +25,13 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake - llvm + llvm.dev ] ++ lib.optionals (withManual || withHTML) [ sphinx ]; 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_MAN=${if withManual then "ON" else "OFF"}" ]; @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { libffi libxml2 zlib + libclang ]; propagatedBuildInputs = [ |