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:
parent
b4744ad4da
commit
be6f48bc39
@ -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; [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user