diff options
author | Josef Kemetmüller <josef.kemetmueller@aon.at> | 2018-09-09 22:18:34 +0200 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-09 22:18:34 +0200 |
commit | 4ab5625c9524c8e73f8f9d2c3c7ada276e60a63e (patch) | |
tree | 956a9103313c6bfcbcd32ff650866b9dcde8b8cf /pkgs/development/tools | |
parent | ff8fc5c46c81095d63c688072c91915a3e5cc41d (diff) |
castxml: Fix build (#46442)
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/castxml/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/tools/castxml/default.nix b/pkgs/development/tools/castxml/default.nix index 603b155ee4f9..aea94633bae3 100644 --- a/pkgs/development/tools/castxml/default.nix +++ b/pkgs/development/tools/castxml/default.nix @@ -17,6 +17,11 @@ stdenv.mkDerivation rec { sha256 = "1hjh8ihjyp1m2jb5yypp5c45bpbz8k004f4p1cjw4gc7pxhjacdj"; }; + cmakeFlags = [ + "-DCLANG_RESOURCE_DIR=${llvmPackages.clang-unwrapped}" + "-DSPHINX_MAN=${if withMan then "ON" else "OFF"}" + ]; + buildInputs = [ cmake llvmPackages.clang-unwrapped @@ -25,11 +30,6 @@ stdenv.mkDerivation rec { propagatedbuildInputs = [ llvmPackages.libclang ]; - preConfigure = '' - cmakeFlagsArray+=( - ${if withMan then "-DSPHINX_MAN=ON" else ""} - )''; - # 97% tests passed, 96 tests failed out of 2866 # mostly because it checks command line and nix append -isystem and all doCheck=false; |