diff --git a/nixos/lib/make-options-doc/mergeJSON.py b/nixos/lib/make-options-doc/mergeJSON.py index 9510b1e59a20..7010a8873d5b 100644 --- a/nixos/lib/make-options-doc/mergeJSON.py +++ b/nixos/lib/make-options-doc/mergeJSON.py @@ -57,8 +57,8 @@ def convertMD(options: Dict[str, Any]) -> str: try: return super(Renderer, self)._get_method(name) except AttributeError: - def not_supported(children, **kwargs): - raise NotImplementedError("md node not supported yet", name, children, **kwargs) + def not_supported(*args, **kwargs): + raise NotImplementedError("md node not supported yet", name, args, **kwargs) return not_supported def text(self, text):