Merge pull request #80657 from brettlyons/patch-1
vimPlugins.notational-fzf-vim: patch plugin to fix missing runtime dependency
This commit is contained in:
commit
b8a00580d0
1 changed files with 14 additions and 0 deletions
|
@ -28,6 +28,9 @@
|
|||
|
||||
# vCoolor dependency
|
||||
, gnome3
|
||||
|
||||
# notational-fzf-vim dependencies
|
||||
, ripgrep
|
||||
}:
|
||||
|
||||
self: super: {
|
||||
|
@ -249,6 +252,17 @@ self: super: {
|
|||
ncm2-ultisnips = super.ncm2-ultisnips.overrideAttrs(old: {
|
||||
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: {
|
||||
dependencies = [ self.fzfWrapper ];
|
||||
|
|
Loading…
Reference in a new issue