diff options
author | Robert Hensing <robert@roberthensing.nl> | 2020-10-22 13:38:46 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2020-10-22 13:46:47 +0200 |
commit | 5aa2a98dfa0b54fef1b5cc7059ac8c4b1248a739 (patch) | |
tree | 2eab967e5d90a65cec3c98836726cc802a6f9bbc | |
parent | 4d4682c2b6b1697236662495166b457abfb523cf (diff) |
lib/types.nix: Use // instead of mergeAttrs
-rw-r--r-- | lib/types.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 = {}; }; }; |