Merge pull request #52685 from timokau/fzf-vim-dep
vimPlugins.fzf-vim: automatically add fzfWrapper
This commit is contained in:
@@ -33,6 +33,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;
|
||||
@@ -225,6 +228,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 {
|
||||
|
||||
Reference in New Issue
Block a user