forked from mirrors/nixpkgs
Merge pull request #203632 from sikmir/iwyu
include-what-you-use: fix shebangs
This commit is contained in:
commit
8bc39a24bc
|
@ -10,8 +10,12 @@ stdenv.mkDerivation rec {
|
||||||
url = "${meta.homepage}/downloads/${pname}-${version}.src.tar.gz";
|
url = "${meta.homepage}/downloads/${pname}-${version}.src.tar.gz";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = with llvmPackages; [ cmake llvm.dev llvm python3 ];
|
nativeBuildInputs = with llvmPackages; [ cmake llvm.dev llvm python3 ];
|
||||||
buildInputs = with llvmPackages; [ libclang clang-unwrapped ];
|
buildInputs = with llvmPackages; [ libclang clang-unwrapped python3 ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DIWYU_LLVM_ROOT_PATH=${llvmPackages.clang-unwrapped}" ];
|
cmakeFlags = [ "-DIWYU_LLVM_ROOT_PATH=${llvmPackages.clang-unwrapped}" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue