diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix index 8b7789cf622..0753e8c3566 100644 --- a/pkgs/misc/vim-plugins/overrides.nix +++ b/pkgs/misc/vim-plugins/overrides.nix @@ -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 {