thunderbird: Remove buildconfig
This reduces the closure size from 1689 MiB to 425 MiB.
This commit is contained in:
parent
9bbd4f653f
commit
2be42950c3
@ -47,14 +47,17 @@ in stdenv.mkDerivation rec {
|
|||||||
# from firefox + m4 + wrapperTool
|
# from firefox + m4 + wrapperTool
|
||||||
nativeBuildInputs = [ m4 autoconf213 which gnused pkgconfig perl python wrapperTool cargo rustc ];
|
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 = [
|
patches = [
|
||||||
|
# https://bugzilla.mozilla.org/show_bug.cgi?format=default&id=1479540
|
||||||
|
# https://hg.mozilla.org/releases/mozilla-release/rev/bc651d3d910c
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "bc651d3d910c.patch";
|
name = "bc651d3d910c.patch";
|
||||||
url = "https://hg.mozilla.org/releases/mozilla-release/raw-rev/bc651d3d910c";
|
url = "https://hg.mozilla.org/releases/mozilla-release/raw-rev/bc651d3d910c";
|
||||||
sha256 = "0iybkadsgsf6a3pq3jh8z1p110vmpkih8i35jfj8micdkhxzi89g";
|
sha256 = "0iybkadsgsf6a3pq3jh8z1p110vmpkih8i35jfj8micdkhxzi89g";
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# Remove buildconfig.html to prevent a dependency on clang etc.
|
||||||
|
../../browsers/firefox/no-buildconfig.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
@ -191,6 +194,8 @@ in stdenv.mkDerivation rec {
|
|||||||
"$out/bin/thunderbird" --version
|
"$out/bin/thunderbird" --version
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
disallowedRequisites = [ stdenv.cc ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A full-featured e-mail client";
|
description = "A full-featured e-mail client";
|
||||||
homepage = http://www.mozilla.org/thunderbird/;
|
homepage = http://www.mozilla.org/thunderbird/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user