···155155 sha256 = "0qc62di5823r7ly2lxkclzj9rhg2z7ms81igz44nv0fzv3dszdab";
156156 })
157157158158+ # These fix Firefox on sway and other non-Gnome wayland WMs. They should be
159159+ # removed whenever the following two patches make it onto a release:
160160+ # 1. https://hg.mozilla.org/mozilla-central/rev/51c13987d1b8
161161+ # 2. https://hg.mozilla.org/integration/autoland/rev/3b856ecc00e4
162162+ # This will probably happen in the next point release, but let's be careful
163163+ # and double check whether it's working on sway on the next v bump.
164164+ ++ lib.optionals (lib.versionAtLeast version "92") [
165165+ (fetchpatch {
166166+ url = "https://hg.mozilla.org/integration/autoland/raw-rev/3b856ecc00e4";
167167+ sha256 = "sha256-d8IRJD6ELC3ZgEs1ES/gy2kTNu/ivoUkUNGMEUoq8r8=";
168168+ })
169169+ (fetchpatch {
170170+ url = "https://hg.mozilla.org/mozilla-central/raw-rev/51c13987d1b8";
171171+ sha256 = "sha256-C2jcoWLuxW0Ic+Mbh3UpEzxTKZInljqVdcuA9WjspoA=";
172172+ })
173173+ ]
174174+158175 ++ patches;
159176160177