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 <mail@tazj.in>
This commit is contained in:
sterni 2021-10-09 16:49:26 +02:00
parent 2397fd8d56
commit e7c0d6eb12

View file

@ -10,7 +10,7 @@ let
nint
;
minimalDepot = sparseTree depot.path [
minimalDepot = sparseTree depot.path.origSrc [
# general depot things
"default.nix"
"nix/readTree"