lib/introspect: fix list item meta

This commit is contained in:
Johannes Kirschbauer
2025-10-02 16:40:29 +02:00
parent 1a8131f17f
commit 6f5f182aef
2 changed files with 64 additions and 1 deletions

View File

@@ -125,7 +125,7 @@ let
/**
Maps attrsOf and lazyAttrsOf
*/
handleListOf = list: { __list = lib.map handleMeta { meta = list; }; };
handleListOf = list: { __list = lib.map (item: handleMeta { meta = item; }) list; };
/**
Unwraps the valueMeta of an option based on its type