2016-04-26 12:27:05 +00:00
|
|
|
{ stdenv, symlinkJoin, rxvt_unicode, makeWrapper, plugins }:
|
2014-10-17 11:50:36 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
rxvt = rxvt_unicode.override {
|
|
|
|
perlSupport = true;
|
|
|
|
};
|
|
|
|
|
2016-04-26 12:27:05 +00:00
|
|
|
in symlinkJoin {
|
|
|
|
name = "${rxvt.name}-with-plugins";
|
2014-10-17 11:50:36 +00:00
|
|
|
|
2016-04-26 12:27:05 +00:00
|
|
|
paths = [ rxvt ] ++ plugins;
|
2014-10-17 11:50:36 +00:00
|
|
|
|
2016-04-26 12:27:05 +00: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"
|
|
|
|
'';
|
|
|
|
}
|