@@ -28,6 +28,9 @@
2828
2929# vCoolor dependency
3030, gnome3
31+
32+# notational-fzf-vim dependencies
33+, ripgrep
3134}:
3235
3336self: super: {
@@ -249,6 +252,17 @@ self: super: {
249252 ncm2-ultisnips = super.ncm2-ultisnips.overrideAttrs(old: {
250253 dependencies = with super; [ ultisnips ];
251254 });
255+
256+ notational-fzf-vim = super.notational-fzf-vim.overrideAttrs(old: {
257+ dependencies = with self; [ fzf-vim ];
258+ patchPhase = ''
259+ substituteInPlace plugin/notational_fzf.vim \
260+ --replace "'rg'" "'${ripgrep}/bin/rg'" \
261+ --replace \
262+ "let s:python_executable = executable('pypy3') ? 'pypy3' : 'python3'" \
263+ "let s:python_executable = '${python3}/bin/python3'"
264+ '';
265+ });
252266
253267 fzf-vim = super.fzf-vim.overrideAttrs(old: {
254268 dependencies = [ self.fzfWrapper ];