mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
Merge pull request #270674 from lxsameer/iwyu-fix
include-what-you-use: Fix the cmake flags for standalone build according to the official docs
This commit is contained in:
commit
c4b427e155
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user