diff options
-rw-r--r-- | nix/buildkite/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nix/buildkite/default.nix b/nix/buildkite/default.nix index 5b40fb79b59c..a3e9da956da3 100644 --- a/nix/buildkite/default.nix +++ b/nix/buildkite/default.nix @@ -191,7 +191,8 @@ rec { map (mkExtraStep buildEnabled) steps) splitExtraSteps; in - extraSteps // { + if !buildEnabled then extraSteps + else extraSteps // { build = [ step ] ++ (extraSteps.build or [ ]); }; |