mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
neovim: make clipboard work ootb
This commit is contained in:
parent
cfc1dbc755
commit
e9c86755dd
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, gettext, glib, libmsgpack, libtermkey
|
{ stdenv, fetchFromGitHub, cmake, gettext, glib, libmsgpack, libtermkey
|
||||||
, libtool, libuv, lpeg, lua, luajit, luaMessagePack, luabitop, man, ncurses
|
, libtool, libuv, lpeg, lua, luajit, luaMessagePack, luabitop, man, ncurses
|
||||||
, perl, pkgconfig, unibilium, makeWrapper, vimUtils
|
, perl, pkgconfig, unibilium, makeWrapper, vimUtils, xsel
|
||||||
|
|
||||||
, withPython ? true, pythonPackages, extraPythonPackages ? []
|
, withPython ? true, pythonPackages, extraPythonPackages ? []
|
||||||
, withPython3 ? true, python3Packages, extraPython3Packages ? []
|
, withPython3 ? true, python3Packages, extraPython3Packages ? []
|
||||||
@ -111,6 +111,7 @@ let
|
|||||||
install_name_tool -change libjemalloc.1.dylib \
|
install_name_tool -change libjemalloc.1.dylib \
|
||||||
${jemalloc}/lib/libjemalloc.1.dylib \
|
${jemalloc}/lib/libjemalloc.1.dylib \
|
||||||
$out/bin/nvim
|
$out/bin/nvim
|
||||||
|
sed -i -e "s|'xsel|'${xsel}/bin/xsel|" share/nvim/runtime/autoload/provider/clipboard.vim
|
||||||
'' + optionalString withPython ''
|
'' + optionalString withPython ''
|
||||||
ln -s ${pythonEnv}/bin/python $out/bin/nvim-python
|
ln -s ${pythonEnv}/bin/python $out/bin/nvim-python
|
||||||
'' + optionalString withPyGUI ''
|
'' + optionalString withPyGUI ''
|
||||||
|
Loading…
Reference in New Issue
Block a user