2016-04-26 13:27:05 +01:00
|
|
|
{ stdenv, symlinkJoin, rxvt_unicode, makeWrapper, plugins }:
|
2014-10-17 12:50:36 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
rxvt = rxvt_unicode.override {
|
|
|
|
perlSupport = true;
|
|
|
|
};
|
|
|
|
|
2016-04-26 13:27:05 +01:00
|
|
|
in symlinkJoin {
|
|
|
|
name = "${rxvt.name}-with-plugins";
|
2014-10-17 12:50:36 +01:00
|
|
|
|
2016-04-26 13:27:05 +01:00
|
|
|
paths = [ rxvt ] ++ plugins;
|
2014-10-17 12:50:36 +01:00
|
|
|
|
2016-04-26 13:27:05 +01:00
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
wrapProgram $out/bin/urxvt \
|
|
|
|
--suffix-each URXVT_PERL_LIB ':' "$out/lib/urxvt/perl"
|
|
|
|
wrapProgram $out/bin/urxvtd \
|
|
|
|
--suffix-each URXVT_PERL_LIB ':' "$out/lib/urxvt/perl"
|
|
|
|
'';
|
|
|
|
}
|