From acafaf9b2358ac378c93f0836c8fe48992eb3c5f Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 6 Dec 2012 03:23:11 +0100 Subject: 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 --- pkgs/applications/misc/rxvt_unicode/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'pkgs/applications/misc/rxvt_unicode') diff --git a/pkgs/applications/misc/rxvt_unicode/default.nix b/pkgs/applications/misc/rxvt_unicode/default.nix index a1297d64a180..b643b8a658e2 100644 --- a/pkgs/applications/misc/rxvt_unicode/default.nix +++ b/pkgs/applications/misc/rxvt_unicode/default.nix @@ -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"; }; }) -- cgit 1.4.1