mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
vimPlugins: use fixed point
This commit is contained in:
parent
96b6396101
commit
af465293f1
@ -5,8 +5,8 @@ let
|
|||||||
|
|
||||||
inherit (vimUtils.override {inherit vim;}) buildVimPluginFrom2Nix;
|
inherit (vimUtils.override {inherit vim;}) buildVimPluginFrom2Nix;
|
||||||
|
|
||||||
generated = callPackage ./generated.nix {
|
plugins = callPackage ./generated.nix {
|
||||||
inherit buildVimPluginFrom2Nix;
|
inherit buildVimPluginFrom2Nix overrides;
|
||||||
};
|
};
|
||||||
|
|
||||||
# TL;DR
|
# TL;DR
|
||||||
@ -22,10 +22,8 @@ let
|
|||||||
inherit llvmPackages;
|
inherit llvmPackages;
|
||||||
};
|
};
|
||||||
|
|
||||||
overriden = generated // (overrides generated);
|
aliases = lib.optionalAttrs (config.allowAliases or true) (import ./aliases.nix lib plugins);
|
||||||
|
|
||||||
aliases = lib.optionalAttrs (config.allowAliases or true) (import ./aliases.nix lib overriden);
|
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
overriden // aliases
|
plugins // aliases
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
# This file has been generated by ./pkgs/misc/vim-plugins/update.py. Do not edit!
|
# This file has been generated by ./pkgs/misc/vim-plugins/update.py. Do not edit!
|
||||||
{ buildVimPluginFrom2Nix, fetchFromGitHub }:
|
{ lib, buildVimPluginFrom2Nix, fetchFromGitHub, overrides ? (self: super: {}) }:
|
||||||
|
|
||||||
|
let
|
||||||
|
packages = ( self:
|
||||||
|
|
||||||
{
|
{
|
||||||
a-vim = buildVimPluginFrom2Nix {
|
a-vim = buildVimPluginFrom2Nix {
|
||||||
@ -3983,4 +3986,6 @@
|
|||||||
sha256 = "04pv7mmlz9ccgzfg8sycqxplaxpbyh7pmhwcw47b2xwnazjz49d6";
|
sha256 = "04pv7mmlz9ccgzfg8sycqxplaxpbyh7pmhwcw47b2xwnazjz49d6";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
});
|
||||||
|
|
||||||
|
in lib.fix' (lib.extends overrides packages)
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
{config, lib, stdenv
|
{ lib, stdenv
|
||||||
, python, cmake, vim, vimUtils, ruby
|
, python, cmake, vim, ruby
|
||||||
, which, fetchgit, llvmPackages, rustPlatform
|
, which, fetchgit, llvmPackages, rustPlatform
|
||||||
, xkb_switch, fzf, skim
|
, xkb_switch, fzf, skim
|
||||||
, python3, boost, icu, ncurses
|
, python3, boost, icu, ncurses
|
||||||
, ycmd, rake
|
, ycmd, rake
|
||||||
, pythonPackages, python3Packages
|
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, languagetool
|
, languagetool
|
||||||
, Cocoa, CoreFoundation, CoreServices
|
, Cocoa, CoreFoundation, CoreServices
|
||||||
@ -17,50 +16,22 @@
|
|||||||
, impl, iferr, gocode, gocode-gomod, go-tools
|
, impl, iferr, gocode, gocode-gomod, go-tools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
self: super: {
|
||||||
|
|
||||||
_skim = skim;
|
|
||||||
|
|
||||||
in
|
|
||||||
|
|
||||||
generated:
|
|
||||||
|
|
||||||
rec {
|
|
||||||
|
|
||||||
# list of plugins that are needed as dependencies somewhere
|
|
||||||
# This is necessary (as opposed to `with generated;`) because
|
|
||||||
# there would otherwise be conflicts with `rec`. `rec` is necessary
|
|
||||||
# however to make sure overriden plugins can be used as dependencies.
|
|
||||||
# This should use a proper package set with fixed-points instead.
|
|
||||||
inherit (generated)
|
|
||||||
self
|
|
||||||
webapi-vim
|
|
||||||
nvim-yarp
|
|
||||||
ultisnips
|
|
||||||
vim-addon-mw-utils
|
|
||||||
tlib_vim
|
|
||||||
vim-addon-signs
|
|
||||||
vim-addon-other
|
|
||||||
vim-addon-errorformats
|
|
||||||
vim-maktaba
|
|
||||||
vim-misc;
|
|
||||||
|
|
||||||
vim2nix = buildVimPluginFrom2Nix {
|
vim2nix = buildVimPluginFrom2Nix {
|
||||||
name = "vim2nix";
|
name = "vim2nix";
|
||||||
src = ./vim2nix;
|
src = ./vim2nix;
|
||||||
dependencies = [ vim-addon-manager ];
|
dependencies = with super; [ vim-addon-manager ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fzfWrapper = buildVimPluginFrom2Nix {
|
fzfWrapper = buildVimPluginFrom2Nix {
|
||||||
name = fzf.name;
|
name = fzf.name;
|
||||||
src = fzf.src;
|
src = fzf.src;
|
||||||
dependencies = [];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
skim = buildVimPluginFrom2Nix {
|
skim = buildVimPluginFrom2Nix {
|
||||||
name = _skim.name;
|
name = skim.name;
|
||||||
src = _skim.vim;
|
src = skim.vim;
|
||||||
dependencies = [];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
LanguageClient-neovim = let
|
LanguageClient-neovim = let
|
||||||
@ -86,7 +57,6 @@ rec {
|
|||||||
name = "LanguageClient-neovim-2018-09-07";
|
name = "LanguageClient-neovim-2018-09-07";
|
||||||
src = LanguageClient-neovim-src;
|
src = LanguageClient-neovim-src;
|
||||||
|
|
||||||
dependencies = [];
|
|
||||||
propogatedBuildInputs = [ LanguageClient-neovim-bin ];
|
propogatedBuildInputs = [ LanguageClient-neovim-bin ];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
@ -103,10 +73,9 @@ rec {
|
|||||||
rev = "69cce66defdf131958f152ea7a7b26c21ca9d009";
|
rev = "69cce66defdf131958f152ea7a7b26c21ca9d009";
|
||||||
sha256 = "1363b2fmv69axrl2hm74dmx51cqd8k7rk116890qllnapzw1zjgc";
|
sha256 = "1363b2fmv69axrl2hm74dmx51cqd8k7rk116890qllnapzw1zjgc";
|
||||||
};
|
};
|
||||||
dependencies = [];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
clang_complete = generated.clang_complete.overrideAttrs(old: {
|
clang_complete = super.clang_complete.overrideAttrs(old: {
|
||||||
# In addition to the arguments you pass to your compiler, you also need to
|
# In addition to the arguments you pass to your compiler, you also need to
|
||||||
# specify the path of the C++ std header (if you are using C++).
|
# specify the path of the C++ std header (if you are using C++).
|
||||||
# These usually implicitly set by cc-wrapper around clang (pkgs/build-support/cc-wrapper).
|
# These usually implicitly set by cc-wrapper around clang (pkgs/build-support/cc-wrapper).
|
||||||
@ -123,14 +92,14 @@ rec {
|
|||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
clighter8 = generated.clighter8.overrideAttrs(old: {
|
clighter8 = super.clighter8.overrideAttrs(old: {
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
sed "/^let g:clighter8_libclang_path/s|')$|${llvmPackages.clang.cc.lib}/lib/libclang.so')|" \
|
sed "/^let g:clighter8_libclang_path/s|')$|${llvmPackages.clang.cc.lib}/lib/libclang.so')|" \
|
||||||
-i "$out"/share/vim-plugins/clighter8/plugin/clighter8.vim
|
-i "$out"/share/vim-plugins/clighter8/plugin/clighter8.vim
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
command-t = generated.command-t.overrideAttrs(old: {
|
command-t = super.command-t.overrideAttrs(old: {
|
||||||
buildInputs = [ ruby rake ];
|
buildInputs = [ ruby rake ];
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
rake make
|
rake make
|
||||||
@ -138,7 +107,7 @@ rec {
|
|||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
cpsm = generated.cpsm.overrideAttrs(old: {
|
cpsm = super.cpsm.overrideAttrs(old: {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
python3
|
python3
|
||||||
stdenv
|
stdenv
|
||||||
@ -154,7 +123,7 @@ rec {
|
|||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
ctrlp-cmatcher = generated.ctrlp-cmatcher.overrideAttrs(old: {
|
ctrlp-cmatcher = super.ctrlp-cmatcher.overrideAttrs(old: {
|
||||||
buildInputs = [ python ];
|
buildInputs = [ python ];
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
@ -162,7 +131,7 @@ rec {
|
|||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
deoplete-go = generated.deoplete-go.overrideAttrs(old: {
|
deoplete-go = super.deoplete-go.overrideAttrs(old: {
|
||||||
buildInputs = [ python3 ];
|
buildInputs = [ python3 ];
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
pushd ./rplugin/python3/deoplete/ujson
|
pushd ./rplugin/python3/deoplete/ujson
|
||||||
@ -172,33 +141,33 @@ rec {
|
|||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
ensime-vim = generated.ensime-vim.overrideAttrs(old: {
|
ensime-vim = super.ensime-vim.overrideAttrs(old: {
|
||||||
passthru.python3Dependencies = ps: with ps; [ sexpdata websocket_client ];
|
passthru.python3Dependencies = ps: with ps; [ sexpdata websocket_client ];
|
||||||
dependencies = [ vimproc-vim vimshell-vim self forms ];
|
dependencies = with super; [ vimproc-vim vimshell-vim super.self forms ];
|
||||||
});
|
});
|
||||||
|
|
||||||
forms = generated.forms.overrideAttrs(old: {
|
forms = super.forms.overrideAttrs(old: {
|
||||||
dependencies = [ self ];
|
dependencies = with super; [ super.self ];
|
||||||
});
|
});
|
||||||
|
|
||||||
gist-vim = generated.gist-vim.overrideAttrs(old: {
|
gist-vim = super.gist-vim.overrideAttrs(old: {
|
||||||
dependencies = [ webapi-vim ];
|
dependencies = with super; [ webapi-vim ];
|
||||||
});
|
});
|
||||||
|
|
||||||
ncm2 = generated.ncm2.overrideAttrs(old: {
|
ncm2 = super.ncm2.overrideAttrs(old: {
|
||||||
dependencies = [ nvim-yarp ];
|
dependencies = with super; [ nvim-yarp ];
|
||||||
});
|
});
|
||||||
|
|
||||||
ncm2-jedi = generated.ncm2-jedi.overrideAttrs(old: {
|
ncm2-jedi = super.ncm2-jedi.overrideAttrs(old: {
|
||||||
dependencies = [ nvim-yarp ncm2 ];
|
dependencies = with super; [ nvim-yarp ncm2 ];
|
||||||
passthru.python3Dependencies = ps: with ps; [ jedi ];
|
passthru.python3Dependencies = ps: with ps; [ jedi ];
|
||||||
});
|
});
|
||||||
|
|
||||||
ncm2-ultisnips = generated.ncm2-ultisnips.overrideAttrs(old: {
|
ncm2-ultisnips = super.ncm2-ultisnips.overrideAttrs(old: {
|
||||||
dependencies = [ ultisnips ];
|
dependencies = with super; [ ultisnips ];
|
||||||
});
|
});
|
||||||
|
|
||||||
taglist-vim = generated.taglist-vim.overrideAttrs(old: {
|
taglist-vim = super.taglist-vim.overrideAttrs(old: {
|
||||||
setSourceRoot = ''
|
setSourceRoot = ''
|
||||||
export sourceRoot=taglist
|
export sourceRoot=taglist
|
||||||
mkdir taglist
|
mkdir taglist
|
||||||
@ -207,40 +176,40 @@ rec {
|
|||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
vimshell-vim = generated.vimshell-vim.overrideAttrs(old: {
|
vimshell-vim = super.vimshell-vim.overrideAttrs(old: {
|
||||||
dependencies = [ vimproc-vim ];
|
dependencies = with super; [ vimproc-vim ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-addon-manager = generated.vim-addon-manager.overrideAttrs(old: {
|
vim-addon-manager = super.vim-addon-manager.overrideAttrs(old: {
|
||||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Cocoa;
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Cocoa;
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-addon-actions = generated.vim-addon-actions.overrideAttrs(old: {
|
vim-addon-actions = super.vim-addon-actions.overrideAttrs(old: {
|
||||||
dependencies = [ vim-addon-mw-utils tlib_vim ];
|
dependencies = with super; [ vim-addon-mw-utils tlib_vim ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-addon-async = generated.vim-addon-async.overrideAttrs(old: {
|
vim-addon-async = super.vim-addon-async.overrideAttrs(old: {
|
||||||
dependencies = [ vim-addon-signs ];
|
dependencies = with super; [ vim-addon-signs ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-addon-background-cmd = generated.vim-addon-background-cmd.overrideAttrs(old: {
|
vim-addon-background-cmd = super.vim-addon-background-cmd.overrideAttrs(old: {
|
||||||
dependencies = [ vim-addon-mw-utils ];
|
dependencies = with super; [ vim-addon-mw-utils ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-addon-completion = generated.vim-addon-completion.overrideAttrs(old: {
|
vim-addon-completion = super.vim-addon-completion.overrideAttrs(old: {
|
||||||
dependencies = [ tlib_vim ];
|
dependencies = with super; [ tlib_vim ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-addon-goto-thing-at-cursor = generated.vim-addon-goto-thing-at-cursor.overrideAttrs(old: {
|
vim-addon-goto-thing-at-cursor = super.vim-addon-goto-thing-at-cursor.overrideAttrs(old: {
|
||||||
dependencies = [ tlib_vim ];
|
dependencies = with super; [ tlib_vim ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-addon-mru = generated.vim-addon-mru.overrideAttrs(old: {
|
vim-addon-mru = super.vim-addon-mru.overrideAttrs(old: {
|
||||||
dependencies = [ vim-addon-other vim-addon-mw-utils ];
|
dependencies = with super; [ vim-addon-other vim-addon-mw-utils ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-addon-nix = generated.vim-addon-nix.overrideAttrs(old: {
|
vim-addon-nix = super.vim-addon-nix.overrideAttrs(old: {
|
||||||
dependencies = [
|
dependencies = with super; [
|
||||||
vim-addon-completion
|
vim-addon-completion
|
||||||
vim-addon-goto-thing-at-cursor
|
vim-addon-goto-thing-at-cursor
|
||||||
vim-addon-errorformats
|
vim-addon-errorformats
|
||||||
@ -249,38 +218,38 @@ rec {
|
|||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-addon-sql = generated.vim-addon-sql.overrideAttrs(old: {
|
vim-addon-sql = super.vim-addon-sql.overrideAttrs(old: {
|
||||||
dependencies = [ vim-addon-completion vim-addon-background-cmd tlib_vim ];
|
dependencies = with super; [ vim-addon-completion vim-addon-background-cmd tlib_vim ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-addon-syntax-checker = generated.vim-addon-syntax-checker.overrideAttrs(old: {
|
vim-addon-syntax-checker = super.vim-addon-syntax-checker.overrideAttrs(old: {
|
||||||
dependencies = [ vim-addon-mw-utils tlib_vim ];
|
dependencies = with super; [ vim-addon-mw-utils tlib_vim ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-addon-toggle-buffer = generated.vim-addon-toggle-buffer.overrideAttrs(old: {
|
vim-addon-toggle-buffer = super.vim-addon-toggle-buffer.overrideAttrs(old: {
|
||||||
dependencies = [ vim-addon-mw-utils tlib_vim ];
|
dependencies = with super; [ vim-addon-mw-utils tlib_vim ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-addon-xdebug = generated.vim-addon-xdebug.overrideAttrs(old: {
|
vim-addon-xdebug = super.vim-addon-xdebug.overrideAttrs(old: {
|
||||||
dependencies = [ webapi-vim vim-addon-mw-utils vim-addon-signs vim-addon-async ];
|
dependencies = with super; [ webapi-vim vim-addon-mw-utils vim-addon-signs vim-addon-async ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-bazel = generated.vim-bazel.overrideAttrs(old: {
|
vim-bazel = super.vim-bazel.overrideAttrs(old: {
|
||||||
dependencies = [ vim-maktaba ];
|
dependencies = with super; [ vim-maktaba ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-codefmt = generated.vim-codefmt.overrideAttrs(old: {
|
vim-codefmt = super.vim-codefmt.overrideAttrs(old: {
|
||||||
dependencies = [ vim-maktaba ];
|
dependencies = with super; [ vim-maktaba ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-easytags = generated.vim-easytags.overrideAttrs(old: {
|
vim-easytags = super.vim-easytags.overrideAttrs(old: {
|
||||||
dependencies = [ vim-misc ];
|
dependencies = with super; [ vim-misc ];
|
||||||
});
|
});
|
||||||
|
|
||||||
# change the go_bin_path to point to a path in the nix store. See the code in
|
# change the go_bin_path to point to a path in the nix store. See the code in
|
||||||
# fatih/vim-go here
|
# fatih/vim-go here
|
||||||
# https://github.com/fatih/vim-go/blob/155836d47052ea9c9bac81ba3e937f6f22c8e384/autoload/go/path.vim#L154-L159
|
# https://github.com/fatih/vim-go/blob/155836d47052ea9c9bac81ba3e937f6f22c8e384/autoload/go/path.vim#L154-L159
|
||||||
vim-go = generated.vim-go.overrideAttrs(old: let
|
vim-go = super.vim-go.overrideAttrs(old: let
|
||||||
binPath = lib.makeBinPath [
|
binPath = lib.makeBinPath [
|
||||||
asmfmt
|
asmfmt
|
||||||
delve
|
delve
|
||||||
@ -308,7 +277,7 @@ rec {
|
|||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-grammarous = generated.vim-grammarous.overrideAttrs(old: {
|
vim-grammarous = super.vim-grammarous.overrideAttrs(old: {
|
||||||
# use `:GrammarousCheck` to initialize checking
|
# use `:GrammarousCheck` to initialize checking
|
||||||
# In neovim, you also want to use set
|
# In neovim, you also want to use set
|
||||||
# let g:grammarous#show_first_error = 1
|
# let g:grammarous#show_first_error = 1
|
||||||
@ -321,31 +290,31 @@ rec {
|
|||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-hier = generated.vim-hier.overrideAttrs(old: {
|
vim-hier = super.vim-hier.overrideAttrs(old: {
|
||||||
buildInputs = [ vim ];
|
buildInputs = [ vim ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-isort = generated.vim-isort.overrideAttrs(old: {
|
vim-isort = super.vim-isort.overrideAttrs(old: {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace ftplugin/python_vimisort.vim \
|
substituteInPlace ftplugin/python_vimisort.vim \
|
||||||
--replace 'import vim' 'import vim; import sys; sys.path.append("${pythonPackages.isort}/${python.sitePackages}")'
|
--replace 'import vim' 'import vim; import sys; sys.path.append("${python.pkgs.isort}/${python.sitePackages}")'
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-snipmate = generated.vim-snipmate.overrideAttrs(old: {
|
vim-snipmate = super.vim-snipmate.overrideAttrs(old: {
|
||||||
dependencies = [ vim-addon-mw-utils tlib_vim ];
|
dependencies = with super; [ vim-addon-mw-utils tlib_vim ];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
vim-wakatime = generated.vim-wakatime.overrideAttrs(old: {
|
vim-wakatime = super.vim-wakatime.overrideAttrs(old: {
|
||||||
buildInputs = [ python ];
|
buildInputs = [ python ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-xdebug = generated.vim-xdebug.overrideAttrs(old: {
|
vim-xdebug = super.vim-xdebug.overrideAttrs(old: {
|
||||||
postInstall = false;
|
postInstall = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-xkbswitch = generated.vim-xkbswitch.overrideAttrs(old: {
|
vim-xkbswitch = super.vim-xkbswitch.overrideAttrs(old: {
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace plugin/xkbswitch.vim \
|
substituteInPlace plugin/xkbswitch.vim \
|
||||||
--replace /usr/local/lib/libxkbswitch.so ${xkb_switch}/lib/libxkbswitch.so
|
--replace /usr/local/lib/libxkbswitch.so ${xkb_switch}/lib/libxkbswitch.so
|
||||||
@ -353,14 +322,14 @@ rec {
|
|||||||
buildInputs = [ xkb_switch ];
|
buildInputs = [ xkb_switch ];
|
||||||
});
|
});
|
||||||
|
|
||||||
vim-yapf = generated.vim-yapf.overrideAttrs(old: {
|
vim-yapf = super.vim-yapf.overrideAttrs(old: {
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
substituteInPlace ftplugin/python_yapf.vim \
|
substituteInPlace ftplugin/python_yapf.vim \
|
||||||
--replace '"yapf"' '"${python3Packages.yapf}/bin/yapf"'
|
--replace '"yapf"' '"${python3.pkgs.yapf}/bin/yapf"'
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
vimproc-vim = generated.vimproc-vim.overrideAttrs(old: {
|
vimproc-vim = super.vimproc-vim.overrideAttrs(old: {
|
||||||
buildInputs = [ which ];
|
buildInputs = [ which ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
@ -372,11 +341,11 @@ rec {
|
|||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
YankRing-vim = generated.YankRing-vim.overrideAttrs(old: {
|
YankRing-vim = super.YankRing-vim.overrideAttrs(old: {
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
});
|
});
|
||||||
|
|
||||||
youcompleteme = generated.youcompleteme.overrideAttrs(old: {
|
youcompleteme = super.youcompleteme.overrideAttrs(old: {
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
substituteInPlace plugin/youcompleteme.vim \
|
substituteInPlace plugin/youcompleteme.vim \
|
||||||
--replace "'ycm_path_to_python_interpreter', '''" \
|
--replace "'ycm_path_to_python_interpreter', '''" \
|
||||||
@ -395,9 +364,9 @@ rec {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
jedi-vim = generated.jedi-vim.overrideAttrs(old: {
|
jedi-vim = super.jedi-vim.overrideAttrs(old: {
|
||||||
# checking for python3 support in vim would be neat, too, but nobody else seems to care
|
# checking for python3 support in vim would be neat, too, but nobody else seems to care
|
||||||
buildInputs = [ python3Packages.jedi ];
|
buildInputs = [ python3.pkgs.jedi ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "code-completion for python using python-jedi";
|
description = "code-completion for python using python-jedi";
|
||||||
license = stdenv.lib.licenses.mit;
|
license = stdenv.lib.licenses.mit;
|
||||||
|
Loading…
Reference in New Issue
Block a user