From 5aa2a98dfa0b54fef1b5cc7059ac8c4b1248a739 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Thu, 22 Oct 2020 13:38:46 +0200 Subject: [PATCH] lib/types.nix: Use // instead of mergeAttrs --- lib/types.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types.nix b/lib/types.nix index e9e45dc25c7..dd287734388 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 = {}; }; };