include-what-you-use: fix llvm references
This commit is contained in:
parent
2b79244f89
commit
d8ee66107f
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, cmake, llvmPackages, python2 }:
|
||||
{ lib, stdenv, fetchurl, cmake, llvmPackages, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "include-what-you-use";
|
||||
|
@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
|
|||
url = "${meta.homepage}/downloads/${pname}-${version}.src.tar.gz";
|
||||
};
|
||||
|
||||
buildInputs = with llvmPackages; [ clang-unwrapped llvm python2 ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
nativeBuildInputs = with llvmPackages; [ cmake llvm.dev llvm clang-unwrapped python3];
|
||||
buildInputs = [ llvmPackages.libclang ];
|
||||
|
||||
cmakeFlags = [ "-DIWYU_LLVM_ROOT_PATH=${llvmPackages.clang-unwrapped}" ];
|
||||
|
||||
|
|
Loading…
Reference in New Issue