lib/types: Test attrsWith type merging

Co-Authored-By: @hsjobeki
This commit is contained in:
Silvan Mosberger 2024-11-25 16:06:23 +01:00
parent c4a9529071
commit 415d1932ea
3 changed files with 35 additions and 20 deletions

View file

@ -630,7 +630,8 @@ rec {
getSubModules = elemType.getSubModules;
substSubModules = m: attrsWith { elemType = elemType.substSubModules m; inherit lazy; };
functor = defaultFunctor "attrsWith" // {
wrapped = elemType;
# TODO: This breaks stuff
# wrapped = elemType;
payload = {
# Important!: Add new function attributes here in case of future changes
inherit elemType lazy;