about summary refs log tree commit diff
path: root/views
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-02-07T10·24+0300
committertazjin <tazjin@tvl.su>2022-02-07T15·13+0000
commit3bde42586089a28a49dc063c2e639194211cb9af (patch)
treef137b907fc6a2a49f20ff0499d2c01e78e8a03a1 /views
parent98b6af02f525bdf61de806ffd8545f0b5a3fa817 (diff)
refactor(nix): Move `mkLabel` from buildkite to readTree r/3774
This function is more generically useful than just for pipeline
construction.

A subsequent commit will use it inside of readTree itself.

Change-Id: I5eabd6f659726484667e060958865dddbc205762
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5237
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'views')
-rw-r--r--views/kit/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/kit/default.nix b/views/kit/default.nix
index ba46b719e286..0548fb7bbb7b 100644
--- a/views/kit/default.nix
+++ b/views/kit/default.nix
@@ -15,9 +15,13 @@
 
 pkgs.lib.fix (self: {
   buildGo = import ./buildGo { inherit pkgs; };
-  buildkite = import ./buildkite { inherit pkgs; };
   readTree = import ./readTree { };
 
+  buildkite = import ./buildkite {
+    inherit pkgs;
+    depot.nix.readTree = self.readTree;
+  };
+
   besadii = import ./besadii {
     depot.nix.buildGo = self.buildGo;
   };