From c69164509d3abd23225b9acc82d279ee5539905a Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Tue, 26 May 2015 07:36:26 +0300 Subject: [PATCH] rxvt_unicode: Add terminfo output to propagated-user-env-packages Fixes #7787. This should avoid error messages from terminal apps like "'rxvt-unicode-256color': unknown terminal type.'" --- pkgs/applications/misc/rxvt_unicode/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/misc/rxvt_unicode/default.nix b/pkgs/applications/misc/rxvt_unicode/default.nix index 12eeb62dc043..c1d74c247cef 100644 --- a/pkgs/applications/misc/rxvt_unicode/default.nix +++ b/pkgs/applications/misc/rxvt_unicode/default.nix @@ -45,6 +45,11 @@ stdenv.mkDerivation (rec { ln -s $out/{lib/urxvt,lib/perl5/site_perl} ''; + postInstall = '' + mkdir -p $out/nix-support + echo "$terminfo" >> $out/nix-support/propagated-user-env-packages + ''; + meta = { description = "A clone of the well-known terminal emulator rxvt"; homepage = "http://software.schmorp.de/pkg/rxvt-unicode.html";