mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
lib/types: Test attrsWith type merging
Co-Authored-By: @hsjobeki
This commit is contained in:
parent
c4a9529071
commit
415d1932ea
3 changed files with 35 additions and 20 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue