irony-server: use libclang

This commit is contained in:
Daiderd Jordan 2018-01-16 23:02:47 +01:00
parent 64f730cf56
commit 78f9d80741
No known key found for this signature in database
GPG key ID: D02435D05B810C96

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;