thunderbird: use buildMozillaMach top-level builder

A cleaner way to use the common mach builder expression from Firefox.
main
Martin Weinelt 2 years ago
parent 318fae87c0
commit 6cdf90a219
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
  1. 14
      pkgs/applications/networking/mailreaders/thunderbird/packages.nix

@ -1,14 +1,7 @@
{ stdenv, lib, callPackage, fetchurl, fetchpatch, nixosTests }:
let
common = opts: callPackage (import ../../browsers/firefox/common.nix opts) {
webrtcSupport = false;
geolocationSupport = false;
};
in
{ stdenv, lib, buildMozillaMach, callPackage, fetchurl, fetchpatch, nixosTests }:
rec {
thunderbird = (common rec {
thunderbird = (buildMozillaMach rec {
pname = "thunderbird";
version = "91.9.0";
application = "comm/mail";
@ -37,6 +30,9 @@ rec {
attrPath = "thunderbird-unwrapped";
};
}).override {
geolocationSupport = false;
webrtcSupport = false;
pgoSupport = false; # console.warn: feeds: "downloadFeed: network connection unavailable"
};
}

Loading…
Cancel
Save