lib: improve implementation of overrideExisting (#549843)

This commit is contained in:
Eman Resu
2026-08-06 22:25:08 +00:00
committed by GitHub

View File

@@ -1863,7 +1863,7 @@ rec {
:::
*/
overrideExisting = old: new: mapAttrs (name: value: new.${name} or value) old;
overrideExisting = old: new: old // intersectAttrs old new;
/**
Turns a list of strings into a human-readable description of those