diff options
| author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-11-25 16:06:23 +0100 |
|---|---|---|
| committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-11-25 16:06:55 +0100 |
| commit | 415d1932eae07d9a64e1e21199a2b9c904ce3d5f (patch) | |
| tree | 79e719f23bbc41de784a9472e7a04fcc2bc625d2 /lib/types.nix | |
| parent | lib/types: init {types.attrsWith} (diff) | |
| download | nixpkgs-415d1932eae07d9a64e1e21199a2b9c904ce3d5f.tar.gz | |
lib/types: Test attrsWith type merging
Co-Authored-By: @hsjobeki
Diffstat (limited to 'lib/types.nix')
| -rw-r--r-- | lib/types.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix index 3078cc4de609..a286f16227a0 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -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; |
