Merge pull request #143423 from ck3d/neovim-xsel

neovim: Remove X11 dependency
This commit is contained in:
markuskowa 2021-11-09 12:58:26 +01:00 committed by GitHub
commit 7bd45cbcf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, cmake, gettext, msgpack, libtermkey, libiconv
, libuv, lua, ncurses, pkg-config
, unibilium, xsel, gperf
, unibilium, gperf
, libvterm-neovim
, tree-sitter
, glibcLocales ? null, procps ? null
@ -113,10 +113,6 @@ in
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}
shellHook=''
export VIMRUNTIME=$PWD/runtime