#
# Forces nheko to use Xorg instead of wayland.
#
# vim: et:ts=2:sw=2:
#
{ ... }:
let
  overlay = final': prev': {
    nheko = prev'.nheko.overrideAttrs (
      final: prev: {

        # Patches from pennae ^-^
        patches = prev.patches ++ [
          ./nheko-del.patch
          ./nheko-search.patch
          ./timeline-read-color.patch
        ];
      }
    );
  };
in
{
  nixpkgs.overlays = [ overlay ];
}
