nixos-render-docs: move pytestCheckHook to nativeCheckInputs

Previously, it was in nativeBuildInputs which caused tests to run while
cross compiling. This attempts to run host python on the build machine.
This commit is contained in:
Audrey Dutcher 2025-02-11 07:34:43 -07:00
parent b4744ad4da
commit be6f48bc39

View File

@ -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; [