Skip to content

Commit

Permalink
castxml: Fix build (#46442)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4ab5625)
  • Loading branch information
knedlsepp authored and xeji committed Sep 9, 2018
1 parent ff81358 commit b682a40
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/development/tools/castxml/default.nix
Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit b682a40

Please sign in to comment.