irony-server: use libclang

This commit is contained in:
Daiderd Jordan 2018-01-16 23:02:47 +01:00 committed by Tuomas Tynkkynen
parent 2807920302
commit 1504e69420

View File

@ -5,13 +5,14 @@ stdenv.mkDerivation rec {
inherit (irony) version;
nativeBuildInputs = [ cmake ];
buildInputs = [ llvmPackages.libclang ];
dontUseCmakeBuildDir = true;
cmakeDir = "server";
cmakeFlags = [
''-DCMAKE_PREFIX_PATH=${llvmPackages.clang.cc}''
"-DCMAKE_PREFIX_PATH=${llvmPackages.clang-unwrapped}"
];
src = irony.src;