about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2024-04-17T18·35+0200
committersterni <sternenseemann@systemli.org>2024-04-18T13·29+0000
commit5384c9ac0ecdbffa8749f04d469073263bf1f18f (patch)
tree64ebb9b3ffd5c25b19821f21993beadb8d1ce219
parentcf86a098cf93edb29e0b53e4d6e56ed05e7ee2ed (diff)
fix(views/kit): include dependency-analyzer r/7956
Since cl/11116, //nix/buildkite needs dependency-analyzer as an input.

Change-Id: I2d924d6648b4ebf39388d8142a99496ef854d0c1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11451
Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com>
Tested-by: BuildkiteCI
-rw-r--r--views/kit/default.nix10
-rw-r--r--views/kit/workspace.josh2
2 files changed, 11 insertions, 1 deletions
diff --git a/views/kit/default.nix b/views/kit/default.nix
index b6d21f619662..bb4b37e36c73 100644
--- a/views/kit/default.nix
+++ b/views/kit/default.nix
@@ -23,14 +23,22 @@ pkgs.lib.fix (self: {
 
   buildkite = import ./buildkite {
     inherit pkgs;
-    depot.nix.readTree = self.readTree;
+    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 { };
 })
diff --git a/views/kit/workspace.josh b/views/kit/workspace.josh
index 202dee350dae..63b3cd49b439 100644
--- a/views/kit/workspace.josh
+++ b/views/kit/workspace.josh
@@ -3,8 +3,10 @@ besadii = :/ops/besadii
 :/nix:[
     ::buildGo/
     ::buildkite/
+    ::dependency-analyzer/
     ::lazy-deps/
     ::readTree/
+    ::stateMonad/
 ]
 :/third_party:[
     ::nixpkgs/