about summary refs log tree commit diff
path: root/ops/besadii/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ops/besadii/default.nix')
-rw-r--r--ops/besadii/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/ops/besadii/default.nix b/ops/besadii/default.nix
index d9f29dfc515c..91d6bba6ac52 100644
--- a/ops/besadii/default.nix
+++ b/ops/besadii/default.nix
@@ -1,8 +1,14 @@
 # This program is used as a git post-update hook to trigger builds on
 # sourcehut.
-{ depot, ... }:
+{ ciBuilds, depot, ... }:
 
-depot.nix.buildTypedGo.program {
+let
+  inherit (builtins) toFile toJSON;
+in depot.nix.buildTypedGo.program {
   name = "besadii";
   srcs = [ ./main.go2 ];
+
+  x_defs = {
+    "main.TargetList" = toFile "ci-targets.json" (toJSON ciBuilds.__evaluatable);
+  };
 }