rxvt_unicode: allow to specify dependencies for plugins

This commit is contained in:
rnhmjoj 2019-04-19 15:42:09 +02:00
parent 517b9de2c7
commit cfc4a7c03b
No known key found for this signature in database
GPG key ID: 91BE884FBA4B591A

View file

@ -1,4 +1,4 @@
{ symlinkJoin, rxvt_unicode, makeWrapper, plugins }: { symlinkJoin, rxvt_unicode, makeWrapper, plugins, perlPackages, perlDeps ? []}:
let let
rxvt_name = builtins.parseDrvName rxvt_unicode.name; rxvt_name = builtins.parseDrvName rxvt_unicode.name;
@ -12,8 +12,10 @@ in symlinkJoin {
postBuild = '' postBuild = ''
wrapProgram $out/bin/urxvt \ wrapProgram $out/bin/urxvt \
--set PERL5LIB : "${perlPackages.makePerlPath perlDeps}" \
--suffix-each URXVT_PERL_LIB ':' "$out/lib/urxvt/perl" --suffix-each URXVT_PERL_LIB ':' "$out/lib/urxvt/perl"
wrapProgram $out/bin/urxvtd \ wrapProgram $out/bin/urxvtd \
--set PERL5LIB : "${perlPackages.makePerlPath perlDeps}" \
--suffix-each URXVT_PERL_LIB ':' "$out/lib/urxvt/perl" --suffix-each URXVT_PERL_LIB ':' "$out/lib/urxvt/perl"
''; '';