diff --git a/pkgs/development/python-modules/pytest-filter-subpackage/default.nix b/pkgs/development/python-modules/pytest-filter-subpackage/default.nix index df152eaa5eca..5df0aa976f1f 100644 --- a/pkgs/development/python-modules/pytest-filter-subpackage/default.nix +++ b/pkgs/development/python-modules/pytest-filter-subpackage/default.nix @@ -26,6 +26,9 @@ buildPythonPackage rec { propagatedBuildInputs = [ pytest-doctestplus pytest-cov + ]; + + checkInputs = [ pytestCheckHook ]; diff --git a/pkgs/development/python-modules/sunpy/default.nix b/pkgs/development/python-modules/sunpy/default.nix index 0079b44cfd35..7e8344daa45e 100644 --- a/pkgs/development/python-modules/sunpy/default.nix +++ b/pkgs/development/python-modules/sunpy/default.nix @@ -17,6 +17,7 @@ , numpy , pandas , parfive +, pytestCheckHook , pytest-astropy , pytest-mock , pytest-cov @@ -67,6 +68,7 @@ buildPythonPackage rec { checkInputs = [ hypothesis + pytestCheckHook pytest-astropy pytest-cov pytest-mock