ycmd: use libclang
This commit is contained in:
parent
47c5728e7d
commit
64f730cf56
|
@ -15,12 +15,13 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0bs94iv521ac2n53n3k8mw3s6v0hi3hhxhjsr0ips3n99al8wndi";
|
sha256 = "0bs94iv521ac2n53n3k8mw3s6v0hi3hhxhjsr0ips3n99al8wndi";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmake boost ]
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [ boost llvmPackages.libclang ]
|
||||||
++ stdenv.lib.optional stdenv.isDarwin [ fixDarwinDylibNames Cocoa ];
|
++ stdenv.lib.optional stdenv.isDarwin [ fixDarwinDylibNames Cocoa ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
export EXTRA_CMAKE_ARGS=-DPATH_TO_LLVM_ROOT=${llvmPackages.clang-unwrapped}
|
export EXTRA_CMAKE_ARGS=-DPATH_TO_LLVM_ROOT=${llvmPackages.clang-unwrapped}
|
||||||
${python.interpreter} build.py --clang-completer --system-boost
|
${python.interpreter} build.py --system-libclang --clang-completer --system-boost
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patches = [ ./dont-symlink-clang.patch ];
|
patches = [ ./dont-symlink-clang.patch ];
|
||||||
|
|
Loading…
Reference in New Issue