rxvt-unicode: Add path to terminfo file.
On NixOS, we have set TERMINFO_DIRS to the user environment, so urxvt and curses programs running within urxvt are able to find the terminfo file. Unfortunately this isn't the case if you're not using NixOS. Of course we now no longer need the longDescription, which suggests to issue export TERMINFO=~/.nix-profile/share/terminfo ... which to my eyes essentially is a workaround. So please correct me when I'm wrong, but i think it's better if software is working as-is rather than requiring additional configuration (except if it really makes sense or breaks purity). Thanks to Eelis in #nixos for reporting this. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
5b0cd954f1
commit
acafaf9b23
@ -23,7 +23,7 @@ stdenv.mkDerivation (rec {
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
configureFlags="${if perlSupport then "--enable-perl" else "--disable-perl"}";
|
||||
configureFlags="--with-terminfo=$out/share/terminfo ${if perlSupport then "--enable-perl" else "--disable-perl"}";
|
||||
export TERMINFO=$out/share/terminfo # without this the terminfo won't be compiled by tic, see man tic
|
||||
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${freetype}/include/freetype2"
|
||||
NIX_LDFLAGS="$NIX_LDFLAGS -lfontconfig -lXrender "
|
||||
@ -36,10 +36,6 @@ stdenv.mkDerivation (rec {
|
||||
|
||||
meta = {
|
||||
description = "A clone of the well-known terminal emulator rxvt";
|
||||
longDescription = "
|
||||
You should put this into your ~/.bashrc:
|
||||
export TERMINFO=~/.nix-profile/share/terminfo
|
||||
";
|
||||
homepage = "http://software.schmorp.de/pkg/rxvt-unicode.html";
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user