nixos/github-runner: fix nodeRuntimes option

Fixes #434830.

Drops backwards compatibility workaround introduced in #286063.
This commit is contained in:
Spencer Janssen
2025-08-20 23:14:22 -05:00
parent a545336704
commit 82bd28b068

View File

@@ -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 {