From e7f4e8f279eb5b5fe83d3d338ba5bfcf22a19a2d Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Sun, 23 Aug 2026 15:35:24 -0400 Subject: [PATCH] thunderbird-latest: 153.0.3 -> 154.0 Closes #555613 --- .../networking/mailreaders/thunderbird/packages.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/mailreaders/thunderbird/packages.nix b/pkgs/applications/networking/mailreaders/thunderbird/packages.nix index c6f346613359..7f27c4383d44 100644 --- a/pkgs/applications/networking/mailreaders/thunderbird/packages.nix +++ b/pkgs/applications/networking/mailreaders/thunderbird/packages.nix @@ -28,7 +28,14 @@ let extraPatches = [ # The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`. (if lib.versionOlder version "140" then ./no-buildconfig.patch else ./no-buildconfig-tb140.patch) - ]; + ] + ++ + lib.optional (lib.versionAtLeast version "154" && lib.versionOlder version "154.0.1") + (fetchpatch2 { + # Fix Success macros colliding: https://bugzilla.mozilla.org/show_bug.cgi?id=2065007 + url = "https://github.com/mozilla-firefox/firefox/commit/f0b76eba072821d62e74ebdbd8da9243a2ce3b84.patch"; + hash = "sha256-PCTmv1ZO7ce4q5fp+WPmy5Wga5OMY4hNzqIZ7iYCcp4="; + }); # FIXME: let's hope that upstream will fix this soon and we can drop this hack again. # https://bugzilla.mozilla.org/show_bug.cgi?id=2040877 extraPostPatch = @@ -78,8 +85,8 @@ rec { thunderbird = thunderbird-latest; thunderbird-latest = common { - version = "153.0.3"; - sha512 = "6a9271af8473fa6679d4943a35fab0a335e8eb736aebfab4d79e250578faf6090cda19e80708487bec7c2221242b059072dda9ca817478a6d76556594972202b"; + version = "154.0"; + sha512 = "aebdc5f0f4788124128a77b8a329767fa0f6d1d46c41ca6fd45889368e4e964a7a82a41f5367e825da0d544eff61d4da07dff2e6eb13f72c935bed79a184c5a8"; updateScript = callPackage ./update.nix { attrPath = "thunderbirdPackages.thunderbird-latest";