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 committed by Johannes Kirschbauer
parent 5b7a21358d
commit bd353d322c
No known key found for this signature in database
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;