Not all [`meta`](https://nixos.org/manual/nixpkgs/stable/#chap-meta) attributes are supported, but more can be added as desired.
'';
apply=lib.filterAttrs(k:v:v!=null);
type=types.submodule{
type=types.submodule(
{config,...}:
{
options={
maintainers=lib.mkOption{
type=types.listOftypes.raw;
@@ -41,8 +43,17 @@ in
Sets the [`meta.platforms`](https://nixos.org/manual/nixpkgs/stable/#var-meta-platforms) attribute on the [{option}`test`](#test-opt-test) derivation.
'';
};
hydraPlatforms=lib.mkOption{
type=types.listOftypes.raw;
default=config.platforms;
defaultText=literalExpression"meta.platforms";
description=''
Sets the [`meta.hydraPlatforms`](https://nixos.org/manual/nixpkgs/stable/#var-meta-hydraPlatforms) attribute on the [{option}`test`](#test-opt-test) derivation.