refactor(depot): Import depot.path using lib.cleanSource
This imports a copy of the depot as `depot.path` without including the .git directory and other stuff that isn't tracked in the tree. Significantly reduces thie amount of data copied into the store. Change-Id: I567c0f969d1cea81d121588548f6db627c8f3432 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3601 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
0e3858b5e5
commit
0939d4bf05
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ in fix(self: (readDepot {
|
||||||
}) // {
|
}) // {
|
||||||
# Make the path to the depot available for things that might need it
|
# Make the path to the depot available for things that might need it
|
||||||
# (e.g. NixOS module inclusions)
|
# (e.g. NixOS module inclusions)
|
||||||
path = ./.;
|
path = self.third_party.nixpkgs.lib.cleanSource ./.;
|
||||||
|
|
||||||
# List of all buildable targets, for CI purposes.
|
# List of all buildable targets, for CI purposes.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue