@@ -47,14 +47,17 @@ in stdenv.mkDerivation rec {
4747 # from firefox + m4 + wrapperTool
4848 nativeBuildInputs = [ m4 autoconf213 which gnused pkgconfig perl python wrapperTool cargo rustc ];
4949
50− # https://bugzilla.mozilla.org/show_bug.cgi?format=default&id=1479540
51− # https://hg.mozilla.org/releases/mozilla-release/rev/bc651d3d910c
5250 patches = [
51+ # https://bugzilla.mozilla.org/show_bug.cgi?format=default&id=1479540
52+ # https://hg.mozilla.org/releases/mozilla-release/rev/bc651d3d910c
5353 (fetchpatch {
5454 name = "bc651d3d910c.patch";
5555 url = "https://hg.mozilla.org/releases/mozilla-release/raw-rev/bc651d3d910c";
5656 sha256 = "0iybkadsgsf6a3pq3jh8z1p110vmpkih8i35jfj8micdkhxzi89g";
5757 })
58+
59+ # Remove buildconfig.html to prevent a dependency on clang etc.
60+ ../../browsers/firefox/no-buildconfig.patch
5861 ];
5962
6063 configureFlags =
@@ -191,6 +194,8 @@ in stdenv.mkDerivation rec {
191194 "$out/bin/thunderbird" --version
192195 '';
193196
197+ disallowedRequisites = [ stdenv.cc ];
198+
194199 meta = with stdenv.lib; {
195200 description = "A full-featured e-mail client";
196201 homepage = http://www.mozilla.org/thunderbird/;