1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-20 08:29:20 +03:00

nixos/github-runners: add nodeRuntimes option

This commit is contained in:
Vincent Haupert 2023-08-22 15:51:54 +02:00
parent 73babca767
commit 388bfcef4a
3 changed files with 13 additions and 2 deletions

View file

@ -208,4 +208,12 @@ with lib;
'';
default = null;
};
nodeRuntimes = mkOption {
type = with types; nonEmptyListOf (enum [ "node16" "node20" ]);
default = [ "node20" ];
description = mdDoc ''
List of Node.js runtimes the runner should support.
'';
};
}