mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-08 21:24:03 +00:00
vimPlugins.fzf-vim: add fzfWrapper dependency
fzfWrapper is needed for fzf-vim to work.
This commit is contained in:
parent
107215c1d0
commit
d55e92dd2e
@ -27,6 +27,9 @@ self: super: {
|
|||||||
dependencies = with super; [ vim-addon-manager ];
|
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 {
|
fzfWrapper = buildVimPluginFrom2Nix {
|
||||||
pname = "fzf";
|
pname = "fzf";
|
||||||
version = fzf.version;
|
version = fzf.version;
|
||||||
@ -173,6 +176,10 @@ self: super: {
|
|||||||
dependencies = with super; [ ultisnips ];
|
dependencies = with super; [ ultisnips ];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
fzf-vim = super.fzf-vim.overrideAttrs(old: {
|
||||||
|
dependencies = [ self.fzfWrapper ];
|
||||||
|
});
|
||||||
|
|
||||||
sved = let
|
sved = let
|
||||||
# we put the script in its own derivation to benefit the magic of wrapGAppsHook
|
# we put the script in its own derivation to benefit the magic of wrapGAppsHook
|
||||||
svedbackend = stdenv.mkDerivation {
|
svedbackend = stdenv.mkDerivation {
|
||||||
|
Loading…
Reference in New Issue
Block a user