about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/buildkite/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nix/buildkite/default.nix b/nix/buildkite/default.nix
index 9ddf9a0042df..ec148050b0a1 100644
--- a/nix/buildkite/default.nix
+++ b/nix/buildkite/default.nix
@@ -84,6 +84,8 @@ rec {
       # always runs. This allows build steps uploaded in batches to
       # start running before all batches have been uploaded.
       depends_on = ":init:";
+    } // lib.optionalAttrs (target ? meta.timeout) {
+      timeout_in_minutes = target.meta.timeout / 60;
     };
 
   # Helper function to inelegantly divide a list into chunks of at