Commit 82bd28b0 authored by Spencer Janssen's avatar Spencer Janssen
Browse files

nixos/github-runner: fix nodeRuntimes option

Fixes #434830.

Drops backwards compatibility workaround introduced in #286063.
parent a5453367
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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 {