tvl-depot/views/kit/default.nix
Vincent Ambo 7604833d2a fix(views/kit): provide lib argument to lazy-deps
Change-Id: I6687bda77a3160b922156de9045d5f8565be0a61
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8744
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: flokli <flokli@flokli.de>
2023-06-11 17:05:56 +00:00

36 lines
965 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 { };
externalArgs = args;
})
, ...
}@args:
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;
lib = pkgs.lib;
};
magrathea = import ./magrathea { inherit pkgs; };
readTree = import ./readTree { };
})