203a06390f
This adds the //nix/lazy-deps tool at //lazy-deps in tvl-kit. A CI step is added for the kit that uses this to lazily build an example tool (magrathea). Change-Id: Ibd6d69c83b87bd6e0766942d73297621f2593113 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5514 Tested-by: BuildkiteCI Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com>
31 lines
863 B
Nix
31 lines
863 B
Nix
# Externally importable TVL depot stack. This is intended to be called
|
|
# with a supplied package set, otherwise the package set currently in
|
|
# use by the TVL depot will be used.
|
|
#
|
|
# For now, readTree is not used inside of this configuration to keep
|
|
# it simple. Adding it may be useful if we set up test scaffolding
|
|
# around the exported workspace.
|
|
|
|
{ pkgs ? (import ./nixpkgs {
|
|
depotOverlays = false;
|
|
depot.third_party.sources = import ./sources { };
|
|
})
|
|
, ...
|
|
}:
|
|
|
|
pkgs.lib.fix (self: {
|
|
besadii = import ./besadii {
|
|
depot.nix.buildGo = self.buildGo;
|
|
};
|
|
|
|
buildGo = import ./buildGo { inherit pkgs; };
|
|
|
|
buildkite = import ./buildkite {
|
|
inherit pkgs;
|
|
depot.nix.readTree = self.readTree;
|
|
};
|
|
|
|
lazy-deps = import ./lazy-deps { inherit pkgs; };
|
|
magrathea = import ./magrathea { inherit pkgs; };
|
|
readTree = import ./readTree { };
|
|
})
|