diff --git a/lib/types.nix b/lib/types.nix index e9e45dc25c72..dd287734388a 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -270,7 +270,7 @@ rec { name = "attrs"; description = "attribute set"; check = isAttrs; - merge = loc: foldl' (res: def: mergeAttrs res def.value) {}; + merge = loc: foldl' (res: def: res // def.value) {}; emptyValue = { value = {}; }; };