diff options
author | oxalica <oxalicc@pm.me> | 2021-11-19 17:04:01 +0800 |
---|---|---|
committer | oxalica <oxalicc@pm.me> | 2021-11-19 17:04:01 +0800 |
commit | 7e899fd18e39b82ec29db402773bd595a7477b1e (patch) | |
tree | ec486f91ec19072feef56dcd452ea4a1b4ee22d7 /pkgs/applications | |
parent | 8df865561fbc53922f1e801c3deeb53c12ce8c4f (diff) | |
download | nixpkgs-7e899fd18e39b82ec29db402773bd595a7477b1e.tar nixpkgs-7e899fd18e39b82ec29db402773bd595a7477b1e.tar.gz nixpkgs-7e899fd18e39b82ec29db402773bd595a7477b1e.tar.bz2 nixpkgs-7e899fd18e39b82ec29db402773bd595a7477b1e.tar.lz nixpkgs-7e899fd18e39b82ec29db402773bd595a7477b1e.tar.xz nixpkgs-7e899fd18e39b82ec29db402773bd595a7477b1e.tar.zst nixpkgs-7e899fd18e39b82ec29db402773bd595a7477b1e.zip |
thunderbird: reintroduce buildconfig patch to reduce closure size
This (partially) reverts commit 9ea377439ed377d61f9aad1df7e93ee3164beccd.
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/mailreaders/thunderbird/no-buildconfig.patch | 13 | ||||
-rw-r--r-- | pkgs/applications/networking/mailreaders/thunderbird/packages.nix | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/thunderbird/no-buildconfig.patch b/pkgs/applications/networking/mailreaders/thunderbird/no-buildconfig.patch new file mode 100644 index 00000000000..c4e29f6355c --- /dev/null +++ b/pkgs/applications/networking/mailreaders/thunderbird/no-buildconfig.patch @@ -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 diff --git a/pkgs/applications/networking/mailreaders/thunderbird/packages.nix b/pkgs/applications/networking/mailreaders/thunderbird/packages.nix index 30770390e6c..09ce02a5bd6 100644 --- a/pkgs/applications/networking/mailreaders/thunderbird/packages.nix +++ b/pkgs/applications/networking/mailreaders/thunderbird/packages.nix @@ -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; { |