3
0
Fork 0
forked from mirrors/nixpkgs

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
commit 8bc39a24bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}" ];