ycmd: fix build
This also fixes build for Mac OS X. The build failed before because both clang and clang-unwrapped were in scope and CMake tried to compile the library with unwrapped clang with well-understood consequences. This commit fixes the issue by passing libclang through a different way.
This commit is contained in:
parent
1db8403e6f
commit
1a2c7fe628
@ -10,12 +10,13 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1g0hivv3wla7z5dgnkcn3ny38p089pjfj36nx6k29zmprgmjinyr";
|
||||
};
|
||||
|
||||
buildInputs = [ python cmake llvmPackages.clang boost makeWrapper ];
|
||||
buildInputs = [ python cmake boost makeWrapper ];
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ waitress frozendict bottle ];
|
||||
|
||||
buildPhase = ''
|
||||
python build.py --clang-completer --system-libclang --system-boost
|
||||
export EXTRA_CMAKE_ARGS=-DPATH_TO_LLVM_ROOT=${llvmPackages.clang-unwrapped}
|
||||
python build.py --clang-completer --system-boost
|
||||
'';
|
||||
|
||||
configurePhase = ":";
|
||||
|
Loading…
Reference in New Issue
Block a user