github-runner: fix the nodeRuntimes option
The conditional override was intended to be backwards-compatible with older runner packages without the `nodeRuntimes` argument. However, `override` doesn't yield default arguments, so the override was never applied. This commit removes the conditional entirely since `nodeRuntimes` was added back in 24.05.
This commit is contained in:
parent
8df64f8196
commit
f910ac37b6
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ in
|
|||
|
||||
config.launchd.daemons = flip mapAttrs' config.services.github-runners (name: cfg:
|
||||
let
|
||||
package = cfg.package.override (old: optionalAttrs (hasAttr "nodeRuntimes" old) { inherit (cfg) nodeRuntimes; });
|
||||
package = cfg.package.override { inherit (cfg) nodeRuntimes; };
|
||||
stateDir = mkStateDir cfg;
|
||||
logDir = mkLogDir cfg;
|
||||
workDir = mkWorkDir cfg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue