2022-01-18 16:33:05 +01:00
|
|
|
# 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.
|
|
|
|
|
2022-02-02 13:20:54 +01:00
|
|
|
{ pkgs ? (import ./nixpkgs {
|
|
|
|
depotOverlays = false;
|
|
|
|
depot.third_party.sources = import ./sources { };
|
2023-03-03 14:39:28 +01:00
|
|
|
externalArgs = args;
|
2022-02-02 13:20:54 +01:00
|
|
|
})
|
|
|
|
, ...
|
2023-03-03 14:39:28 +01:00
|
|
|
}@args:
|
2022-01-18 16:33:05 +01:00
|
|
|
|
2022-01-30 17:06:58 +01:00
|
|
|
pkgs.lib.fix (self: {
|
2022-05-02 12:56:02 +02:00
|
|
|
besadii = import ./besadii {
|
|
|
|
depot.nix.buildGo = self.buildGo;
|
|
|
|
};
|
|
|
|
|
2022-01-18 16:33:05 +01:00
|
|
|
buildGo = import ./buildGo { inherit pkgs; };
|
|
|
|
|
2022-02-07 11:24:18 +01:00
|
|
|
buildkite = import ./buildkite {
|
|
|
|
inherit pkgs;
|
2024-04-17 20:35:11 +02:00
|
|
|
depot.nix = {
|
|
|
|
inherit (self) readTree dependency-analyzer;
|
|
|
|
};
|
2022-02-07 11:24:18 +01:00
|
|
|
};
|
|
|
|
|
2022-06-07 11:34:12 +02:00
|
|
|
checks = import ./checks { inherit pkgs; };
|
2024-04-17 20:35:11 +02:00
|
|
|
dependency-analyzer = import ./dependency-analyzer {
|
|
|
|
inherit pkgs;
|
|
|
|
inherit (pkgs) lib;
|
|
|
|
depot.nix.stateMonad = self.stateMonad;
|
|
|
|
};
|
2023-06-10 12:56:07 +02:00
|
|
|
lazy-deps = import ./lazy-deps {
|
|
|
|
inherit pkgs;
|
|
|
|
lib = pkgs.lib;
|
|
|
|
};
|
2022-02-11 11:10:23 +01:00
|
|
|
magrathea = import ./magrathea { inherit pkgs; };
|
2022-05-02 12:56:02 +02:00
|
|
|
readTree = import ./readTree { };
|
2024-04-17 20:35:11 +02:00
|
|
|
stateMonad = import ./stateMonad { };
|
2022-01-18 16:33:05 +01:00
|
|
|
})
|