1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

lib/types.nix: Use // instead of mergeAttrs

This commit is contained in:
Robert Hensing 2020-10-22 13:38:46 +02:00
parent 4d4682c2b6
commit 5aa2a98dfa

View file

@ -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 = {}; };
};