Skip to content

Commit

Permalink
vimPlugins.fzf-vim: add fzfWrapper dependency
Browse files Browse the repository at this point in the history
fzfWrapper is needed for fzf-vim to work.
  • Loading branch information
timokau committed Feb 19, 2019
1 parent 107215c commit d55e92d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/misc/vim-plugins/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit d55e92d

Please sign in to comment.