about summary refs log tree commit diff
path: root/views/kit/default.nix
blob: bb4b37e36c7384518a125c38e4626d6f0249ac3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# 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 = {
      inherit (self) readTree dependency-analyzer;
    };
  };

  checks = import ./checks { inherit pkgs; };
  dependency-analyzer = import ./dependency-analyzer {
    inherit pkgs;
    inherit (pkgs) lib;
    depot.nix.stateMonad = self.stateMonad;
  };
  lazy-deps = import ./lazy-deps {
    inherit pkgs;
    lib = pkgs.lib;
  };
  magrathea = import ./magrathea { inherit pkgs; };
  readTree = import ./readTree { };
  stateMonad = import ./stateMonad { };
})