finalPkgs: previousPkgs: {
  # https://github.com/tmux/tmux/issues/3852
  # TODO: remove with rxvt-unicode 9.32
  rxvt-unicode-unwrapped = previousPkgs.rxvt-unicode-unwrapped.overrideAttrs (previousAttrs: {
    patches = (previousAttrs.patches or [ ]) ++ [
      (finalPkgs.fetchpatch {
        url = "https://github.com/exg/rxvt-unicode/commit/417b540d6dba67d440e3617bc2cf6d7cea1ed968.diff";
        sha256 = "sha256-hnRfQc4jPiBrm06nJ3I7PHdypUc3jwnIfQV3uMYz+/Y=";
      })
    ];
    doCheck = false;
  });
}