diff --git a/pkgs/development/python-modules/rpy2-robjects/default.nix b/pkgs/development/python-modules/rpy2-robjects/default.nix index 637a76b82a5e..b8800e813e97 100644 --- a/pkgs/development/python-modules/rpy2-robjects/default.nix +++ b/pkgs/development/python-modules/rpy2-robjects/default.nix @@ -12,7 +12,7 @@ pandas, setuptools, tzlocal, - pytestCheckHook, + pytest9_0CheckHook, }: buildPythonPackage rec { @@ -53,7 +53,7 @@ buildPythonPackage rec { tzlocal ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ pytest9_0CheckHook ]; pytestFlags = [ # https://github.com/rpy2/rpy2/issues/1218