From 4a3d2a8ddaf4e546df360656bc54b2947bdb890b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 3 Jan 2021 00:55:29 +0100 Subject: gkleen@sif: import --- overlays/urxvt/default.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 overlays/urxvt/default.nix (limited to 'overlays/urxvt/default.nix') diff --git a/overlays/urxvt/default.nix b/overlays/urxvt/default.nix new file mode 100644 index 00000000..3c57d000 --- /dev/null +++ b/overlays/urxvt/default.nix @@ -0,0 +1,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 + ''; + }; +} -- cgit v1.2.3