YouComplteMe: FIX: ycm_core.so: undefined symbol: clang_parseTranslationUnit2FullArgv

https://github.com/Valloric/YouCompleteMe/issues/2125
This commit is contained in:
Kamil Chmielewski 2016-04-29 19:26:43 +02:00
parent f5b3827e0e
commit 0fcf707673

View File

@ -1,6 +1,6 @@
# TODO check that no license information gets lost
{ fetchurl, bash, stdenv, python, go, cmake, vim, vimUtils, perl, ruby, unzip
, which, fetchgit, fetchFromGitHub, fetchhg, fetchzip, llvmPackages, zip
, which, fetchgit, fetchFromGitHub, fetchhg, fetchzip, llvmPackages_38, zip
, vim_configurable, vimPlugins, xkb_switch, git
, Cocoa ? null
}:
@ -938,17 +938,17 @@ rec {
};
youcompleteme = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "youcompleteme-2016-04-10";
name = "youcompleteme-2016-04-28";
src = fetchgit {
url = "git://github.com/valloric/youcompleteme";
rev = "f67033c990ff5d37ef91ba02da94f6d7409e1c5a";
sha256 = "0hwpbj5hr9d26xdcjfxbssyrsl4926c8g999jzpah0sls1r3y2f0";
rev = "cb5756943fdd3ba062f101a5aba34acdd34d1356";
sha256 = "1fg85mf4x48g6jpn9idjp0k2nz1i34lrx1bxbvp0189ph1xfq7jj";
};
dependencies = [];
buildInputs = [
python go cmake
(if stdenv.isDarwin then llvmPackages.clang else llvmPackages.clang-unwrapped)
llvmPackages.llvm
(if stdenv.isDarwin then llvmPackages_38.clang else llvmPackages_38.clang-unwrapped)
llvmPackages_38.llvm
] ++ stdenv.lib.optional stdenv.isDarwin Cocoa;
buildPhase = ''