mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
22 lines
465 B
Nix
22 lines
465 B
Nix
{ stdenv, symlinkJoin, rxvt_unicode, makeWrapper, plugins }:
|
|
|
|
let
|
|
rxvt = rxvt_unicode.override {
|
|
perlSupport = true;
|
|
};
|
|
|
|
in symlinkJoin {
|
|
name = "${rxvt.name}-with-plugins";
|
|
|
|
paths = [ rxvt ] ++ plugins;
|
|
|
|
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"
|
|
'';
|
|
}
|