diff --git a/pkgs/by-name/ni/nixos-render-docs/package.nix b/pkgs/by-name/ni/nixos-render-docs/package.nix index 9e58c3561c16..2b417bf86383 100644 --- a/pkgs/by-name/ni/nixos-render-docs/package.nix +++ b/pkgs/by-name/ni/nixos-render-docs/package.nix @@ -38,9 +38,12 @@ python.pkgs.buildPythonApplication rec { src = ./src; }; - nativeBuildInputs = with python.pkgs; [ - setuptools - pytestCheckHook + nativeCheckInputs = [ + python.pkgs.pytestCheckHook + ]; + + build-system = [ + python.pkgs.setuptools ]; propagatedBuildInputs = with python.pkgs; [