mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 00:27:53 +00:00
Merge pull request #146639 from oxalica/fix/thunderbird-closure
thunderbird: reintroduce buildconfig patch to reduce closure size
This commit is contained in:
commit
c6154e7f81
@ -0,0 +1,13 @@
|
||||
Remove about:buildconfig. If used as-is, it would add unnecessary runtime dependencies.
|
||||
--- a/comm/mail/base/jar.mn
|
||||
+++ b/comm/mail/base/jar.mn
|
||||
@@ -119,9 +119,6 @@ messenger.jar:
|
||||
% override chrome://mozapps/content/profile/profileDowngrade.js chrome://messenger/content/profileDowngrade.js
|
||||
% override chrome://mozapps/content/profile/profileDowngrade.xhtml chrome://messenger/content/profileDowngrade.xhtml
|
||||
|
||||
-* content/messenger/buildconfig.html (content/buildconfig.html)
|
||||
-% override chrome://global/content/buildconfig.html chrome://messenger/content/buildconfig.html
|
||||
-
|
||||
# L10n resources and overrides.
|
||||
% override chrome://mozapps/locale/profile/profileDowngrade.dtd chrome://messenger/locale/profileDowngrade.dtd
|
||||
% override chrome://global/locale/netError.dtd chrome://messenger/locale/netError.dtd
|
@ -18,6 +18,8 @@ rec {
|
||||
sha512 = "4938f676ddeeba37da1f2086d76a2ef2c870738169f7e10b35b83e4ed772df634825ee25c28232df1ac1e3a18a9466e97dc7ee318abbf43f1f4ce6479a13975b";
|
||||
};
|
||||
patches = [
|
||||
# The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`.
|
||||
./no-buildconfig.patch
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user