lib/tests: Check for nested option-dependent definitions

This commit is contained in:
Silvan Mosberger
2020-03-19 03:46:50 +01:00
parent 9eecf2d057
commit 742e3fc002
4 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
{ lib, ... }:
{
options.set = {
enable = lib.mkOption {
default = false;
example = true;
type = lib.types.bool;
description = ''
Some descriptive text
'';
};
};
}