Fix warnAlias mangling attrsets (#457349)
This commit is contained in:
@@ -225,7 +225,7 @@ let
|
|||||||
if lib.isDerivation v then
|
if lib.isDerivation v then
|
||||||
lib.warnOnInstantiate msg v
|
lib.warnOnInstantiate msg v
|
||||||
else if lib.isAttrs v then
|
else if lib.isAttrs v then
|
||||||
lib.mapAttrs (lib.warn msg) v
|
lib.mapAttrs (_: lib.warn msg) v
|
||||||
else if lib.isFunction v then
|
else if lib.isFunction v then
|
||||||
arg: lib.warn msg (v arg)
|
arg: lib.warn msg (v arg)
|
||||||
else if lib.isList v then
|
else if lib.isList v then
|
||||||
|
|||||||
Reference in New Issue
Block a user