Merge pull request #4581 from k0ral/tmux

tmux: removed useless terminfo wrapping
This commit is contained in:
lethalman 2014-10-18 16:37:44 +02:00
commit d1ea8b3923

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 = {