about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2021-09-03 12:23:08 +0200
committerYureka <yuka@yuka.dev>2021-09-03 12:23:08 +0200
commitafaced27467b0916f8251830d7514b5f140c782d (patch)
tree94c1db68d37d75f5f28d1c2d3ebad853a7b5370c /pkgs/applications
parent509699b37ef172654ed3566028a7e38d3cad6070 (diff)
downloadnixlib-afaced27467b0916f8251830d7514b5f140c782d.tar
nixlib-afaced27467b0916f8251830d7514b5f140c782d.tar.gz
nixlib-afaced27467b0916f8251830d7514b5f140c782d.tar.bz2
nixlib-afaced27467b0916f8251830d7514b5f140c782d.tar.lz
nixlib-afaced27467b0916f8251830d7514b5f140c782d.tar.xz
nixlib-afaced27467b0916f8251830d7514b5f140c782d.tar.zst
nixlib-afaced27467b0916f8251830d7514b5f140c782d.zip
thunderbird: patch for #134433
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/networking/mailreaders/thunderbird/D124361.diff22
-rw-r--r--pkgs/applications/networking/mailreaders/thunderbird/packages.nix6
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/thunderbird/D124361.diff b/pkgs/applications/networking/mailreaders/thunderbird/D124361.diff
new file mode 100644
index 000000000000..42dee06a26bf
--- /dev/null
+++ b/pkgs/applications/networking/mailreaders/thunderbird/D124361.diff
@@ -0,0 +1,22 @@
+diff --git a/comm/mail/config/mozconfigs/common b/comm/mail/config/mozconfigs/common
+--- a/comm/mail/config/mozconfigs/common
++++ b/comm/mail/config/mozconfigs/common
+@@ -1,6 +1,3 @@
+ ac_add_options --enable-application=comm/mail
+ 
+-# Disable enforcing that add-ons are signed by the trusted root.
+-MOZ_REQUIRE_SIGNING=
+-
+ . "$topsrcdir/build/mozconfig.common.override"
+diff --git a/comm/mail/moz.configure b/comm/mail/moz.configure
+--- a/comm/mail/moz.configure
++++ b/comm/mail/moz.configure
+@@ -12,6 +12,7 @@
+ imply_option("MOZ_CRASHREPORTER_URL", "https://crash-reports.thunderbird.net/")
+ 
+ imply_option("--enable-default-browser-agent", False)
++imply_option("MOZ_REQUIRE_SIGNING", False)
+ 
+ 
+ @depends(target_is_windows, target_is_linux)
+
diff --git a/pkgs/applications/networking/mailreaders/thunderbird/packages.nix b/pkgs/applications/networking/mailreaders/thunderbird/packages.nix
index fe6ead5c8d3b..1740eebf6e3f 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird/packages.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird/packages.nix
@@ -19,6 +19,12 @@ rec {
     };
     patches = [
       ./no-buildconfig-90.patch
+
+      # There is a bug in Thunderbird 91 where add-ons are required
+      # to be signed when the build is run with default settings.
+      # https://bugzilla.mozilla.org/show_bug.cgi?id=1727113
+      # https://phabricator.services.mozilla.com/D124361
+      ./D124361.diff
     ];
 
     meta = with lib; {