diff options
author | Jörg Thalheim <joerg@higgsboson.tk> | 2017-02-19 21:31:41 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@higgsboson.tk> | 2017-02-19 21:33:18 +0100 |
commit | f2b1d6e5dce0f67086e2dc1ddf0ac3d688e96cd8 (patch) | |
tree | 6eddbcd1e1c44d9b8de6be4946f63ee08b108fb5 /pkgs/misc | |
parent | 055d6399ef4a6b958b97836144ca3e84c29df935 (diff) |
vimPlugins.clang_complete: init at 2017-02-16
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/vim-plugins/default.nix | 14 | ||||
-rw-r--r-- | pkgs/misc/vim-plugins/vim-plugin-names | 1 | ||||
-rw-r--r-- | pkgs/misc/vim-plugins/vim2nix/additional-nix-code/clang_complete | 4 |
3 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/misc/vim-plugins/default.nix b/pkgs/misc/vim-plugins/default.nix index 953957c7c124..0f1c8e9a2010 100644 --- a/pkgs/misc/vim-plugins/default.nix +++ b/pkgs/misc/vim-plugins/default.nix @@ -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 { diff --git a/pkgs/misc/vim-plugins/vim-plugin-names b/pkgs/misc/vim-plugins/vim-plugin-names index f9e79a8019b8..b8fb32db0948 100644 --- a/pkgs/misc/vim-plugins/vim-plugin-names +++ b/pkgs/misc/vim-plugins/vim-plugin-names @@ -14,6 +14,7 @@ "VimOutliner" "WebAPI" "YankRing" +"clang_complete" "commentary" "ctrlp-py-matcher" "ctrlp-cmatcher" diff --git a/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/clang_complete b/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/clang_complete new file mode 100644 index 000000000000..64e064e2a460 --- /dev/null +++ b/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/clang_complete @@ -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'" + ''; |