about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-10-08 16:30:19 +0200
committerEelco Dolstra <edolstra@gmail.com>2018-10-08 16:32:31 +0200
commit2be42950c3b726f3cbf8c0198c66190aed094121 (patch)
treec1fc7bb38a7e14b196f280d430a2e7b8fb4c8f8a /pkgs/applications/networking
parent9bbd4f653fff6ac1b5befc7ff6095d0806e25369 (diff)
downloadnixlib-2be42950c3b726f3cbf8c0198c66190aed094121.tar
nixlib-2be42950c3b726f3cbf8c0198c66190aed094121.tar.gz
nixlib-2be42950c3b726f3cbf8c0198c66190aed094121.tar.bz2
nixlib-2be42950c3b726f3cbf8c0198c66190aed094121.tar.lz
nixlib-2be42950c3b726f3cbf8c0198c66190aed094121.tar.xz
nixlib-2be42950c3b726f3cbf8c0198c66190aed094121.tar.zst
nixlib-2be42950c3b726f3cbf8c0198c66190aed094121.zip
thunderbird: Remove buildconfig
This reduces the closure size from 1689 MiB to 425 MiB.
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/mailreaders/thunderbird/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/networking/mailreaders/thunderbird/default.nix b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
index e0bedeb2f045..419cc2fd2d84 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird/default.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
@@ -47,14 +47,17 @@ in stdenv.mkDerivation rec {
   # from firefox + m4 + wrapperTool
   nativeBuildInputs = [ m4 autoconf213 which gnused pkgconfig perl python wrapperTool cargo rustc ];
 
-  # https://bugzilla.mozilla.org/show_bug.cgi?format=default&id=1479540
-  # https://hg.mozilla.org/releases/mozilla-release/rev/bc651d3d910c
   patches = [
+    # https://bugzilla.mozilla.org/show_bug.cgi?format=default&id=1479540
+    # https://hg.mozilla.org/releases/mozilla-release/rev/bc651d3d910c
     (fetchpatch {
       name = "bc651d3d910c.patch";
       url = "https://hg.mozilla.org/releases/mozilla-release/raw-rev/bc651d3d910c";
       sha256 = "0iybkadsgsf6a3pq3jh8z1p110vmpkih8i35jfj8micdkhxzi89g";
     })
+
+    # Remove buildconfig.html to prevent a dependency on clang etc.
+    ../../browsers/firefox/no-buildconfig.patch
   ];
 
   configureFlags =
@@ -191,6 +194,8 @@ in stdenv.mkDerivation rec {
       "$out/bin/thunderbird" --version
     '';
 
+  disallowedRequisites = [ stdenv.cc ];
+
   meta = with stdenv.lib; {
     description = "A full-featured e-mail client";
     homepage = http://www.mozilla.org/thunderbird/;