aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/lib/tests/modules/freeform-lazyAttrsOf.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/lib/tests/modules/freeform-lazyAttrsOf.nix')
-rw-r--r--nixpkgs/lib/tests/modules/freeform-lazyAttrsOf.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixpkgs/lib/tests/modules/freeform-lazyAttrsOf.nix b/nixpkgs/lib/tests/modules/freeform-lazyAttrsOf.nix
new file mode 100644
index 00000000000..36d6c0b13fc
--- /dev/null
+++ b/nixpkgs/lib/tests/modules/freeform-lazyAttrsOf.nix
@@ -0,0 +1,3 @@
+{ lib, ... }: {
+ freeformType = with lib.types; lazyAttrsOf (either str (lazyAttrsOf str));
+}