Merge pull request #203632 from sikmir/iwyu

include-what-you-use: fix shebangs
This commit is contained in:
Nikolay Korotkiy
2022-12-04 09:45:10 +04:00
committed by GitHub
@@ -10,8 +10,12 @@ stdenv.mkDerivation rec {
url = "${meta.homepage}/downloads/${pname}-${version}.src.tar.gz";
};
nativeBuildInputs = with llvmPackages; [ cmake llvm.dev llvm python3];
buildInputs = with llvmPackages; [ libclang clang-unwrapped ];
postPatch = ''
patchShebangs .
'';
nativeBuildInputs = with llvmPackages; [ cmake llvm.dev llvm python3 ];
buildInputs = with llvmPackages; [ libclang clang-unwrapped python3 ];
cmakeFlags = [ "-DIWYU_LLVM_ROOT_PATH=${llvmPackages.clang-unwrapped}" ];