diff options
author | Sameer Rahmani <lxsameer@gnu.org> | 2023-11-28 15:42:39 +0000 |
---|---|---|
committer | Sameer Rahmani <lxsameer@gnu.org> | 2023-11-28 17:01:27 +0000 |
commit | 3da17ceb1bf97bc77b0b472ee22e39420bddf299 (patch) | |
tree | 9c35264d088713a37c5f2a436f1bfe8043f9b602 | |
parent | 6d1c5c20eb207f0937444aa9c45ef670ab8e92d9 (diff) |
include-what-you-use: Fix the cmake flags for standalone build according to the official docs.
-rw-r--r-- | pkgs/development/tools/analysis/include-what-you-use/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/analysis/include-what-you-use/default.nix b/pkgs/development/tools/analysis/include-what-you-use/default.nix index 68e9927522b5c..98aade37c2b5b 100644 --- a/pkgs/development/tools/analysis/include-what-you-use/default.nix +++ b/pkgs/development/tools/analysis/include-what-you-use/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = with llvmPackages; [ cmake llvm.dev llvm python3 ]; buildInputs = with llvmPackages; [ libclang clang-unwrapped python3 ]; - cmakeFlags = [ "-DIWYU_LLVM_ROOT_PATH=${llvmPackages.clang-unwrapped}" ]; + cmakeFlags = [ "-DCMAKE_PREFIX_PATH=${llvmPackages.llvm.dev}" ]; postInstall = '' substituteInPlace $out/bin/iwyu_tool.py \ |