forked from mirrors/nixpkgs
vimPlugins.YouCompleteMe: updated to latest
This commit is contained in:
parent
b0b4078bfc
commit
0953235369
|
@ -1,4 +1,4 @@
|
||||||
{ fetchurl, stdenv, python, cmake, vim, perl, ruby, unzip, which, fetchgit, clang }:
|
{ fetchurl, bash, stdenv, python, cmake, vim, perl, ruby, unzip, which, fetchgit, clang }:
|
||||||
|
|
||||||
/*
|
/*
|
||||||
About Vim and plugins
|
About Vim and plugins
|
||||||
|
@ -111,11 +111,11 @@ in rec
|
||||||
YouCompleteMe = stdenv.mkDerivation {
|
YouCompleteMe = stdenv.mkDerivation {
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://github.com/Valloric/YouCompleteMe.git";
|
url = "https://github.com/Valloric/YouCompleteMe.git";
|
||||||
rev = "abfc3ee36adab11c0c0b9d086a164a69006fec79";
|
rev = "67288080ea7057ea3111cb4c863484e3b150e738";
|
||||||
sha256 = "1d25dp5kgqickl06hqvx4j3z51zblhsn3q3by2hayyj3g2zps4gm";
|
sha256 = "1a3rwdl458z1yrp50jdwp629j4al0zld21n15sad28g51m8gw5ka";
|
||||||
};
|
};
|
||||||
|
|
||||||
name = "youcompleteme-git-abfc3ee";
|
name = "youcompleteme-git-6728808";
|
||||||
buildInputs = [ python cmake clang.clang ];
|
buildInputs = [ python cmake clang.clang ];
|
||||||
|
|
||||||
configurePhase = ":";
|
configurePhase = ":";
|
||||||
|
@ -125,10 +125,12 @@ in rec
|
||||||
mkdir -p $target
|
mkdir -p $target
|
||||||
cp -a ./ $target
|
cp -a ./ $target
|
||||||
|
|
||||||
|
|
||||||
mkdir $target/build
|
mkdir $target/build
|
||||||
cd $target/build
|
cd $target/build
|
||||||
cmake -G "Unix Makefiles" . $target/cpp -DPYTHON_LIBRARIES:PATH=${python}/lib/libpython2.7.so -DPYTHON_INCLUDE_DIR:PATH=${python}/include/python2.7 -DUSE_CLANG_COMPLETER=ON -DUSE_SYSTEM_LIBCLANG=ON
|
cmake -G "Unix Makefiles" . $target/third_party/ycmd/cpp -DPYTHON_LIBRARIES:PATH=${python}/lib/libpython2.7.so -DPYTHON_INCLUDE_DIR:PATH=${python}/include/python2.7 -DUSE_CLANG_COMPLETER=ON -DUSE_SYSTEM_LIBCLANG=ON
|
||||||
make -j -j''${NIX_BUILD_CORES} -l''${NIX_BUILD_CORES}}
|
make ycm_support_libs -j''${NIX_BUILD_CORES} -l''${NIX_BUILD_CORES}}
|
||||||
|
${bash}/bin/bash $target/install.sh --clang-completer
|
||||||
|
|
||||||
${vimHelpTags}
|
${vimHelpTags}
|
||||||
vimHelpTags $target
|
vimHelpTags $target
|
||||||
|
|
Loading…
Reference in a new issue