mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
Removed useless terminfo wrapping.
Users should manually set the TERMINFO environment variable.
This commit is contained in:
parent
0f8f98525b
commit
43292d1ebf
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue