vimPlugins.fzf-vim: add fzfWrapper dependency

fzfWrapper is needed for fzf-vim to work.
This commit is contained in:
Timo Kaufmann 2019-02-19 12:51:16 +01:00
parent 107215c1d0
commit d55e92dd2e

View file

@ -27,6 +27,9 @@ self: super: {
dependencies = with super; [ vim-addon-manager ];
};
# Mainly used as a dependency for fzf-vim. Wraps the fzf program as a vim
# plugin, since part of the fzf vim plugin is included in the main fzf
# program.
fzfWrapper = buildVimPluginFrom2Nix {
pname = "fzf";
version = fzf.version;
@ -173,6 +176,10 @@ self: super: {
dependencies = with super; [ ultisnips ];
});
fzf-vim = super.fzf-vim.overrideAttrs(old: {
dependencies = [ self.fzfWrapper ];
});
sved = let
# we put the script in its own derivation to benefit the magic of wrapGAppsHook
svedbackend = stdenv.mkDerivation {