Loading lib/systems/default.nix +3 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,9 @@ let */ equals = let removeFunctions = a: filterAttrs (_: v: !isFunction v) a; # perf: avoid lib.isFunction because system attrs are never __functor-style attrsets. removeFunctions = a: removeAttrs a (builtins.filter (n: builtins.isFunction a.${n}) (builtins.attrNames a)); in a: b: removeFunctions a == removeFunctions b; Loading Loading
lib/systems/default.nix +3 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,9 @@ let */ equals = let removeFunctions = a: filterAttrs (_: v: !isFunction v) a; # perf: avoid lib.isFunction because system attrs are never __functor-style attrsets. removeFunctions = a: removeAttrs a (builtins.filter (n: builtins.isFunction a.${n}) (builtins.attrNames a)); in a: b: removeFunctions a == removeFunctions b; Loading