nixos/github-runner: fix nodeRuntimes option (#435476)

This commit is contained in:
Jacek Galowicz
2025-10-21 12:28:38 +00:00
committed by GitHub
@@ -187,9 +187,7 @@
};
package = lib.mkPackageOption pkgs "github-runner" { } // {
apply =
# Support old github-runner versions which don't have the `nodeRuntimes` arg yet.
pkg: pkg.override (old: lib.optionalAttrs (old ? nodeRuntimes) { inherit (config) nodeRuntimes; });
apply = pkg: pkg.override { inherit (config) nodeRuntimes; };
};
ephemeral = lib.mkOption {