summaryrefslogtreecommitdiff
path: root/lib/types.nix
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2024-11-25 16:06:23 +0100
committerSilvan Mosberger <silvan.mosberger@tweag.io>2024-11-25 16:06:55 +0100
commit415d1932eae07d9a64e1e21199a2b9c904ce3d5f (patch)
tree79e719f23bbc41de784a9472e7a04fcc2bc625d2 /lib/types.nix
parentlib/types: init {types.attrsWith} (diff)
downloadnixpkgs-415d1932eae07d9a64e1e21199a2b9c904ce3d5f.tar.gz
lib/types: Test attrsWith type merging
Co-Authored-By: @hsjobeki
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix3
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;