Removed useless terminfo wrapping.

Users should manually set the TERMINFO environment variable.
This commit is contained in:
koral 2014-10-18 16:04:34 +02:00
parent 0f8f98525b
commit 43292d1ebf

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, ncurses, libevent, pkgconfig, makeWrapper}: {stdenv, fetchurl, ncurses, libevent, pkgconfig}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "tmux"; pname = "tmux";
@ -12,13 +12,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses libevent makeWrapper ]; buildInputs = [ ncurses libevent ];
postInstall = postInstall =
'' ''
mkdir -p $out/etc/bash_completion.d mkdir -p $out/etc/bash_completion.d
cp -v examples/bash_completion_tmux.sh $out/etc/bash_completion.d/tmux cp -v examples/bash_completion_tmux.sh $out/etc/bash_completion.d/tmux
wrapProgram $out/bin/tmux --prefix TERMINFO : $out/share/terminfo
''; '';
meta = { meta = {