notmuch: Fix RUBYLIB path in the Vim plugin

It was pointing to the wrong location since 0082fde.
This commit is contained in:
Jules Aguillon
2025-06-16 12:10:03 +02:00
parent 128d3fc51a
commit add8c2c3fb
@@ -190,7 +190,7 @@ stdenv.mkDerivation (finalAttrs: {
PLUG=$vim/share/vim-plugins/notmuch/plugin/notmuch.vim
cat >> $PLUG << EOF
let \$GEM_PATH=\$GEM_PATH . ":${finalAttrs.passthru.gemEnv}/${ruby.gemPath}"
let \$RUBYLIB=\$RUBYLIB . ":$vim/${ruby.libPath}/${ruby.system}"
let \$RUBYLIB=\$RUBYLIB . ":$out/${ruby.libPath}/${ruby.system}"
if has('nvim')
EOF
for gem in ${finalAttrs.passthru.gemEnv}/${ruby.gemPath}/gems/*/lib; do