vimPlugins.notational-fzf-vim: Fix missing runtime deps
This commit is contained in:
parent
4af086aa94
commit
976aa97435
@ -28,6 +28,9 @@
|
|||||||
|
|
||||||
# vCoolor dependency
|
# vCoolor dependency
|
||||||
, gnome3
|
, gnome3
|
||||||
|
|
||||||
|
# notational-fzf-vim dependencies
|
||||||
|
, ripgrep
|
||||||
}:
|
}:
|
||||||
|
|
||||||
self: super: {
|
self: super: {
|
||||||
@ -250,6 +253,17 @@ self: super: {
|
|||||||
dependencies = with super; [ ultisnips ];
|
dependencies = with super; [ ultisnips ];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
notational-fzf-vim = super.notational-fzf-vim.overrideAttrs(old: {
|
||||||
|
dependencies = with self; [ fzf-vim ];
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace plugin/notational_fzf.vim \
|
||||||
|
--replace "'rg'" "'${ripgrep}/bin/rg'" \
|
||||||
|
--replace \
|
||||||
|
"let s:python_executable = executable('pypy3') ? 'pypy3' : 'python3'" \
|
||||||
|
"let s:python_executable = '${python3}/bin/python3'"
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
fzf-vim = super.fzf-vim.overrideAttrs(old: {
|
fzf-vim = super.fzf-vim.overrideAttrs(old: {
|
||||||
dependencies = [ self.fzfWrapper ];
|
dependencies = [ self.fzfWrapper ];
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user