Merge pull request #143423 from ck3d/neovim-xsel
neovim: Remove X11 dependency
This commit is contained in:
commit
7bd45cbcf5
1 changed files with 1 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, gettext, msgpack, libtermkey, libiconv
|
{ lib, stdenv, fetchFromGitHub, cmake, gettext, msgpack, libtermkey, libiconv
|
||||||
, libuv, lua, ncurses, pkg-config
|
, libuv, lua, ncurses, pkg-config
|
||||||
, unibilium, xsel, gperf
|
, unibilium, gperf
|
||||||
, libvterm-neovim
|
, libvterm-neovim
|
||||||
, tree-sitter
|
, tree-sitter
|
||||||
, glibcLocales ? null, procps ? null
|
, glibcLocales ? null, procps ? null
|
||||||
|
@ -113,10 +113,6 @@ in
|
||||||
substituteInPlace src/nvim/CMakeLists.txt --replace " util" ""
|
substituteInPlace src/nvim/CMakeLists.txt --replace " util" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = lib.optionalString stdenv.isLinux ''
|
|
||||||
sed -i -e "s|'xsel|'${xsel}/bin/xsel|g" $out/share/nvim/runtime/autoload/provider/clipboard.vim
|
|
||||||
'';
|
|
||||||
|
|
||||||
# export PATH=$PWD/build/bin:${PATH}
|
# export PATH=$PWD/build/bin:${PATH}
|
||||||
shellHook=''
|
shellHook=''
|
||||||
export VIMRUNTIME=$PWD/runtime
|
export VIMRUNTIME=$PWD/runtime
|
||||||
|
|
Loading…
Reference in a new issue