summary refs log tree commit diff
path: root/lib/tests/modules/types-anything/attrs-coercible.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/modules/types-anything/attrs-coercible.nix')
-rw-r--r--lib/tests/modules/types-anything/attrs-coercible.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/tests/modules/types-anything/attrs-coercible.nix b/lib/tests/modules/types-anything/attrs-coercible.nix
new file mode 100644
index 00000000000..085cbd638f1
--- /dev/null
+++ b/lib/tests/modules/types-anything/attrs-coercible.nix
@@ -0,0 +1,12 @@
+{ lib, ... }: {
+
+  options.value = lib.mkOption {
+    type = lib.types.anything;
+  };
+
+  config.value = {
+    outPath = "foo";
+    err = throw "err";
+  };
+
+}