Merge pull request #23005 from Mic92/clang_complete

vimPlugins.clang_complete: init at 2017-02-16
This commit is contained in:
Arseniy Seroka 2017-02-19 23:43:23 +03:00 committed by GitHub
commit 40da17902b
3 changed files with 19 additions and 0 deletions

View file

@ -282,6 +282,20 @@ rec {
sourceRoot = ".";
};
clang_complete = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "clang_complete-2017-02-16";
src = fetchgit {
url = "git://github.com/Rip-Rip/clang_complete";
rev = "b1a507fbc27ef581c966b035f52eafae773a6f32";
sha256 = "19zs03giv8h5xmv18y9zn85sxr8akphvbscclrqhs4cf88285cgl";
};
dependencies = [];
preFixup = ''
substituteInPlace "$out"/share/vim-plugins/clang_complete/plugin/clang_complete.vim \
--replace "let g:clang_library_path = '' + "''" + ''" "let g:clang_library_path='${llvmPackages.clang.cc}/lib/libclang.so'"
'';
};
commentary = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "commentary-2016-03-10";
src = fetchgit {

View file

@ -14,6 +14,7 @@
"VimOutliner"
"WebAPI"
"YankRing"
"clang_complete"
"commentary"
"ctrlp-py-matcher"
"ctrlp-cmatcher"

View file

@ -0,0 +1,4 @@
preFixup = ''
substituteInPlace "$out"/share/vim-plugins/clang_complete/plugin/clang_complete.vim \
--replace "let g:clang_library_path = '' + "''" + ''" "let g:clang_library_path='${llvmPackages.clang.cc}/lib/libclang.so'"
'';