diff --git a/pkgs/development/python-modules/nose2pytest/default.nix b/pkgs/development/python-modules/nose2pytest/default.nix index b7a765f696f3..72f554e8a501 100644 --- a/pkgs/development/python-modules/nose2pytest/default.nix +++ b/pkgs/development/python-modules/nose2pytest/default.nix @@ -6,8 +6,6 @@ setuptools, fissix, pytest, - pytestCheckHook, - nose, }: let @@ -43,14 +41,8 @@ buildPythonPackage { pytest ]; - nativeCheckInputs = [ - pytestCheckHook - nose - ]; - - preCheck = '' - export HOME=$(mktemp -d) - ''; + # Tests depend on nose! + doCheck = false; pythonImportsCheck = [ "nose2pytest.assert_tools" ];