diff options
| author | Vladimír Čunát <v@cunat.cz> | 2021-09-05 20:54:26 +0200 |
|---|---|---|
| committer | Vladimír Čunát <v@cunat.cz> | 2021-09-05 20:54:26 +0200 |
| commit | 7cf9185aaeb95f79cfe9cae8689433434576aaff (patch) | |
| tree | d7d32c61f7c2166c87908dc94fc32830dcc0b3e2 | |
| parent | Merge pull request #136787 from NixOS/backport-136364-to-release-21.05 (diff) | |
| parent | thunderbird: patch for #134433 (diff) | |
| download | nixpkgs-7cf9185aaeb95f79cfe9cae8689433434576aaff.tar.gz | |
Merge #136685: thunderbird-91: patch an addon problem
| -rw-r--r-- | pkgs/applications/networking/mailreaders/thunderbird/91/D124361.diff | 22 | ||||
| -rw-r--r-- | pkgs/applications/networking/mailreaders/thunderbird/91/default.nix | 6 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/thunderbird/91/D124361.diff b/pkgs/applications/networking/mailreaders/thunderbird/91/D124361.diff new file mode 100644 index 000000000000..42dee06a26bf --- /dev/null +++ b/pkgs/applications/networking/mailreaders/thunderbird/91/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/91/default.nix b/pkgs/applications/networking/mailreaders/thunderbird/91/default.nix index f00f85336b6b..5f86af60b4f5 100644 --- a/pkgs/applications/networking/mailreaders/thunderbird/91/default.nix +++ b/pkgs/applications/networking/mailreaders/thunderbird/91/default.nix @@ -11,6 +11,12 @@ callPackage (import ../../../browsers/firefox/common.nix 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; { |
