diff options
Diffstat (limited to 'lib/tests/modules/types-anything/functions.nix')
-rw-r--r-- | lib/tests/modules/types-anything/functions.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/tests/modules/types-anything/functions.nix b/lib/tests/modules/types-anything/functions.nix new file mode 100644 index 000000000000..079518913918 --- /dev/null +++ b/lib/tests/modules/types-anything/functions.nix @@ -0,0 +1,17 @@ +{ lib, ... }: { + + options.value = lib.mkOption { + type = lib.types.anything; + }; + + config = lib.mkMerge [ + { + value.single-lambda = x: x; + value.multiple-lambdas = x: x; + } + { + value.multiple-lambdas = x: x; + } + ]; + +} |