From 8b62b01325e74f696c479d90d5ad249ef29892cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6gler?= Date: Thu, 28 Oct 2021 18:57:13 +0200 Subject: [PATCH] neovim: Remove X11 dependency Remove runtime dependency to X11 for smaller closure sizes and reduced complexity. --- pkgs/applications/editors/neovim/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix index 8655235f2927..6a55e7c8e396 100644 --- a/pkgs/applications/editors/neovim/default.nix +++ b/pkgs/applications/editors/neovim/default.nix @@ -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