about summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers
diff options
context:
space:
mode:
authoremilylange <git@emilylange.de>2024-06-12 03:35:28 +0200
committeremilylange <git@emilylange.de>2024-06-12 03:35:28 +0200
commitbda04d27a0c0a482d3506d74f367f96155392e66 (patch)
tree41e3771fe96ff95049f099037910336928f5cd26 /pkgs/applications/networking/browsers
parent7daf0986f20b4cea8bcfe2c265189f93df7107a8 (diff)
chromium: extend release tarball excludes to keep size below 3 GB
Starting with M126, the upstream release tarball includes two full
Debian sysroots to compile chromium with:

~~~shell
$ du -sh build/linux/debian_bullseye_*
835M	build/linux/debian_bullseye_amd64-sysroot
739M	build/linux/debian_bullseye_i386-sysroot
~~~

But they are huge and we don't need them.

In order to stay below the current 3 GB tarball size limit that is
dictated by hydra.nixos.org's max-output-limit, we add them to our
exclude patterns.

This is a no-op for < M126.
Diffstat (limited to 'pkgs/applications/networking/browsers')
-rw-r--r--pkgs/applications/networking/browsers/chromium/recompress-tarball.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/chromium/recompress-tarball.nix b/pkgs/applications/networking/browsers/chromium/recompress-tarball.nix
index 0e77dd230f657..e663c393d8dc4 100644
--- a/pkgs/applications/networking/browsers/chromium/recompress-tarball.nix
+++ b/pkgs/applications/networking/browsers/chromium/recompress-tarball.nix
@@ -34,6 +34,7 @@ fetchurl ({
       --one-top-level=source \
       --exclude=third_party/llvm \
       --exclude=third_party/rust-src \
+      --exclude='build/linux/debian_*-sysroot' \
       --strip-components=1
 
     tar \