github-runner: fix the nodeRuntimes option (#1582)
This commit is contained in:
commit
15f067638e
2 changed files with 1 additions and 4 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;
|
||||
|
|
|
|||
|
|
@ -4,9 +4,6 @@
|
|||
enable = true;
|
||||
url = "https://github.com/nixos/nixpkgs";
|
||||
tokenFile = "/secret/path/to/a/github/token";
|
||||
# We need an overridable derivation but cannot use the actual github-runner package
|
||||
# since it still relies on Node.js 16 which is marked as insecure.
|
||||
package = pkgs.hello;
|
||||
};
|
||||
|
||||
test = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue