From e9c86755ddf9ccf95e4e270b4ea74dfb9674c953 Mon Sep 17 00:00:00 2001 From: Rok Garbas Date: Wed, 25 May 2016 15:01:58 +0200 Subject: [PATCH] neovim: make clipboard work ootb --- pkgs/applications/editors/neovim/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix index 0eba31375dc3..4665ea8a7818 100644 --- a/pkgs/applications/editors/neovim/default.nix +++ b/pkgs/applications/editors/neovim/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchFromGitHub, cmake, gettext, glib, libmsgpack, libtermkey , libtool, libuv, lpeg, lua, luajit, luaMessagePack, luabitop, man, ncurses -, perl, pkgconfig, unibilium, makeWrapper, vimUtils +, perl, pkgconfig, unibilium, makeWrapper, vimUtils, xsel , withPython ? true, pythonPackages, extraPythonPackages ? [] , withPython3 ? true, python3Packages, extraPython3Packages ? [] @@ -111,6 +111,7 @@ let install_name_tool -change libjemalloc.1.dylib \ ${jemalloc}/lib/libjemalloc.1.dylib \ $out/bin/nvim + sed -i -e "s|'xsel|'${xsel}/bin/xsel|" share/nvim/runtime/autoload/provider/clipboard.vim '' + optionalString withPython '' ln -s ${pythonEnv}/bin/python $out/bin/nvim-python '' + optionalString withPyGUI ''