{ final, prev, ... }: { thunderbird-unwrapped = prev.thunderbird-unwrapped.overrideAttrs (oldAttrs: { patches = (oldAttrs.patches or []) ++ prev.lib.optional (prev.lib.versionAtLeast oldAttrs.version "136") (prev.fetchpatch { url = "https://hg.mozilla.org/comm-central/raw-rev/a82bd8fc0bc0"; hash = "sha256-7t8IqxwcZJqXmOevpGof1mcrFKZvXtCcY2EOIsP47EY="; stripLen = 1; extraPrefix = "comm/"; }); }); }