Fix warnAlias mangling attrsets (#457349)

This commit is contained in:
Emily
2025-11-01 23:33:20 +00:00
committed by GitHub

View File

@@ -225,7 +225,7 @@ let
if lib.isDerivation v then
lib.warnOnInstantiate msg v
else if lib.isAttrs v then
lib.mapAttrs (lib.warn msg) v
lib.mapAttrs (_: lib.warn msg) v
else if lib.isFunction v then
arg: lib.warn msg (v arg)
else if lib.isList v then