From 4df65deb209713b9ba16577684555f64ffaae04c Mon Sep 17 00:00:00 2001 From: atlas Date: Sun, 31 May 2026 23:54:44 +0200 Subject: [PATCH] fix: move gitea-actions-runner package to top-level option Per-instance package option does not exist in the nixpkgs module. Package is configured at services.gitea-actions-runner.package. Fixes build failure on main. Closes #916. --- nix/modules/hive-ci.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nix/modules/hive-ci.nix b/nix/modules/hive-ci.nix index 9349c1ca..32d6f4ca 100644 --- a/nix/modules/hive-ci.nix +++ b/nix/modules/hive-ci.nix @@ -178,6 +178,9 @@ in "flakes" ]; + # package is top-level on gitea-actions-runner, not per-instance. + services.gitea-actions-runner.package = cfg.package; + services.gitea-actions-runner.instances.hive = { enable = true; name = cfg.name; @@ -192,7 +195,6 @@ in # Generous timeout for cold-cache nix builds. runner.timeout = "3h"; }; - package = cfg.package; }; # Prepend auto-register script before the runner service starts.