From e7c0d6eb12abc26dacc5649af827b51fdac3f749 Mon Sep 17 00:00:00 2001 From: sterni Date: Sat, 9 Oct 2021 16:49:26 +0200 Subject: refactor(web/bubblegum): avoid dumping depot into store cleanSource needs to import the path into store which is quite slow at this point. Since we are filtering the path later anyways, using the original path is probably perfectly fine and speeds up builds (which is nice when iterating on something). Change-Id: I0628854d754b5903eb4ae93a3c3e2539b2c1c7e9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3705 Tested-by: BuildkiteCI Reviewed-by: tazjin --- web/bubblegum/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/bubblegum/default.nix b/web/bubblegum/default.nix index 5ee461456125..1fbe544bce11 100644 --- a/web/bubblegum/default.nix +++ b/web/bubblegum/default.nix @@ -10,7 +10,7 @@ let nint ; - minimalDepot = sparseTree depot.path [ + minimalDepot = sparseTree depot.path.origSrc [ # general depot things "default.nix" "nix/readTree" -- cgit 1.4.1