tvl-depot/views/kit/default.nix

33 lines
909 B
Nix
Raw Normal View History

# 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;
};
checks = import ./checks { inherit pkgs; };
lazy-deps = import ./lazy-deps { inherit pkgs; };
magrathea = import ./magrathea { inherit pkgs; };
readTree = import ./readTree { };
})