tvl-depot/views/kit/default.nix
Vincent Ambo 82ba42c439 feat(tvl-kit): add magrathea to TVL kit
this tool is generically useful for other TVL-like setups

Change-Id: I182259a7ddb61b4ebdce98ef7893a0ac58a6baec
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5271
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com>
2022-02-14 10:47:17 +00:00

30 lines
811 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: {
buildGo = import ./buildGo { inherit pkgs; };
readTree = import ./readTree { };
buildkite = import ./buildkite {
inherit pkgs;
depot.nix.readTree = self.readTree;
};
besadii = import ./besadii {
depot.nix.buildGo = self.buildGo;
};
magrathea = import ./magrathea { inherit pkgs; };
})