vim-plugins.direnv.vim: fix directory for substitution

Fixes regression introduced by 0a913855a1
This commit is contained in:
Sumner Evans 2021-09-04 12:26:56 -06:00 committed by Matthieu Coudron
parent 76ae975a5e
commit 4a4294d74b

View File

@ -203,7 +203,7 @@ self: super: {
direnv-vim = super.direnv-vim.overrideAttrs (oa: {
preFixup = oa.preFixup or "" + ''
substituteInPlace $out/share/vim-plugins/direnv-vim/autoload/direnv.vim \
substituteInPlace $out/share/vim-plugins/direnv.vim/autoload/direnv.vim \
--replace "let s:direnv_cmd = get(g:, 'direnv_cmd', 'direnv')" \
"let s:direnv_cmd = get(g:, 'direnv_cmd', '${lib.getBin direnv}/bin/direnv')"
'';