From 12d607fe5da3c49600d2e6f5232d1c734911f518 Mon Sep 17 00:00:00 2001 From: damocles Date: Thu, 16 Jul 2026 17:00:46 +0200 Subject: [PATCH] fix hive-ci RestartSec eval conflict with lib.mkForce (#2535) --- nix/host-modules/hive-ci.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nix/host-modules/hive-ci.nix b/nix/host-modules/hive-ci.nix index 9cd41ed5..003d175f 100644 --- a/nix/host-modules/hive-ci.nix +++ b/nix/host-modules/hive-ci.nix @@ -389,7 +389,10 @@ in # no start-limit rate cap so it keeps retrying however long forge / # the core token take to settle. serviceConfig.Restart = lib.mkForce "on-failure"; - serviceConfig.RestartSec = 15; + # `mkForce`: the upstream gitea-actions-runner module also sets + # RestartSec (2), so ours needs the higher priority or the two + # collide into an eval error — same as the sibling `Restart`. + serviceConfig.RestartSec = lib.mkForce 15; startLimitIntervalSec = 0; }; };