diff options
Diffstat (limited to 'nixpkgs/lib/tests/modules/types-anything/attrs-coercible.nix')
-rw-r--r-- | nixpkgs/lib/tests/modules/types-anything/attrs-coercible.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nixpkgs/lib/tests/modules/types-anything/attrs-coercible.nix b/nixpkgs/lib/tests/modules/types-anything/attrs-coercible.nix new file mode 100644 index 000000000000..085cbd638f17 --- /dev/null +++ b/nixpkgs/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"; + }; + +} |