diff options
Diffstat (limited to 'pkgs/development/python-modules/sphinx-testing/default.nix')
-rw-r--r-- | pkgs/development/python-modules/sphinx-testing/default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/sphinx-testing/default.nix b/pkgs/development/python-modules/sphinx-testing/default.nix index 1a8521bf43825..daf90bb3b5030 100644 --- a/pkgs/development/python-modules/sphinx-testing/default.nix +++ b/pkgs/development/python-modules/sphinx-testing/default.nix @@ -4,7 +4,7 @@ , mock , sphinx , six -, python +, unittestCheckHook }: buildPythonPackage rec { @@ -16,12 +16,10 @@ buildPythonPackage rec { sha256 = "ef661775b5722d7b00f67fc229104317d35637a4fb4434bf2c005afdf1da4d09"; }; - checkInputs = [ mock ]; + checkInputs = [ unittestCheckHook mock ]; propagatedBuildInputs = [ sphinx six ]; - checkPhase = '' - ${python.interpreter} -m unittest discover -s tests - ''; + unittestFlagsArray = [ "-s" "tests" ]; # Test failures https://github.com/sphinx-doc/sphinx-testing/issues/5 doCheck = false; |