mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 15:26:03 +03:00
lib/types.nix: Use // instead of mergeAttrs
This commit is contained in:
parent
4d4682c2b6
commit
5aa2a98dfa
@ -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 = {}; };
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user