From bda04d27a0c0a482d3506d74f367f96155392e66 Mon Sep 17 00:00:00 2001 From: emilylange Date: Wed, 12 Jun 2024 03:35:28 +0200 Subject: [PATCH] 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. --- .../networking/browsers/chromium/recompress-tarball.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/networking/browsers/chromium/recompress-tarball.nix b/pkgs/applications/networking/browsers/chromium/recompress-tarball.nix index 0e77dd230f657eb..e663c393d8dc448 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 \