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:
@@ -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; [
|
||||
|
||||
Reference in New Issue
Block a user