diff options
author | Silvan Mosberger <contact@infinisil.com> | 2020-03-19 03:46:50 +0100 |
---|---|---|
committer | Silvan Mosberger <contact@infinisil.com> | 2020-03-19 03:50:47 +0100 |
commit | 742e3fc0020573deecc04029764b288fdbaed4cc (patch) | |
tree | e8c6fdbac87a8e3b7b56fb7040c8963cefc8f343 /lib/tests/modules/declare-int-positive-value-nested.nix | |
parent | 9eecf2d05711b8e8677af8ceda17f6b9938b3eb3 (diff) |
lib/tests: Check for nested option-dependent definitions
Diffstat (limited to 'lib/tests/modules/declare-int-positive-value-nested.nix')
-rw-r--r-- | lib/tests/modules/declare-int-positive-value-nested.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/tests/modules/declare-int-positive-value-nested.nix b/lib/tests/modules/declare-int-positive-value-nested.nix new file mode 100644 index 0000000000000..72d2fb89fc3bf --- /dev/null +++ b/lib/tests/modules/declare-int-positive-value-nested.nix @@ -0,0 +1,9 @@ +{ lib, ... }: + +{ + options.set = { + value = lib.mkOption { + type = lib.types.ints.positive; + }; + }; +} |