diff --git a/pkgs/development/python-modules/Pygments/2_5.nix b/pkgs/development/python-modules/Pygments/2_5.nix index aa59c370d2e..965e6f0ec34 100644 --- a/pkgs/development/python-modules/Pygments/2_5.nix +++ b/pkgs/development/python-modules/Pygments/2_5.nix @@ -3,6 +3,7 @@ , fetchPypi , fetchpatch , docutils +, pytestCheckHook }: buildPythonPackage rec { @@ -25,8 +26,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ docutils ]; - # Circular dependency with sphinx - doCheck = false; + checkInputs = [ pytestCheckHook ]; meta = { homepage = "https://pygments.org/";