neovim: fix the xsel path in the clipboard runtime provider

This commit is contained in:
Wael M. Nasreddine 2018-07-22 21:32:16 -07:00
parent 83be1d081b
commit 5c7c2be709

View File

@ -60,7 +60,7 @@ let
'';
postInstall = stdenv.lib.optionalString stdenv.isLinux ''
sed -i -e "s|'xsel|'${xsel}/bin/xsel|" $out/share/nvim/runtime/autoload/provider/clipboard.vim
sed -i -e "s|'xsel|'${xsel}/bin/xsel|g" $out/share/nvim/runtime/autoload/provider/clipboard.vim
'' + stdenv.lib.optionalString (withJemalloc && stdenv.isDarwin) ''
install_name_tool -change libjemalloc.1.dylib \
${jemalloc}/lib/libjemalloc.1.dylib \