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.
This commit is contained in:
emilylange 2024-06-12 03:35:28 +02:00
parent 7daf0986f2
commit bda04d27a0
No known key found for this signature in database
GPG Key ID: 0AD773CE46FD0F87

View File

@ -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 \