blob: 77a2c51f1040dbe2b46fea99ecdecb0bed32d533 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ final, prev, ... }: {
rxvt_unicode-with-plugins = prev.rxvt-unicode.override {
configure = { availablePlugins, ... }: {
plugins = [ final.urxvt_osc_52 ] ++ builtins.attrValues availablePlugins;
};
};
urxvt_osc_52 = prev.stdenv.mkDerivation {
name = "rxvt_unicode-osc_52-0";
src = ./52-osc.pl;
unpackPhase = ''
cp $src 52-osc
'';
buildPhase = ''
sed -i 's|#! perl|#! ${final.perl}/bin/perl|g' 52-osc
'';
installPhase = ''
mkdir -p $out/lib/urxvt/perl
cp 52-osc $out/lib/urxvt/perl
'';
};
}
|