From dc2638276b9b1e70b513b48869086d23d1169152 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 3 Apr 2021 17:45:02 +0200 Subject: Revert "Merge pull request #117886 from risicle/ris-pygments-tests" This is a pattern that should be avoided. So far hypothesis is the only package using it if I am correct, let's not add more. Instead, we should solve the underlying issue. That is, we build, install and test within one derivation. That we should split up. Doing this more will only result in trouble. This reverts commit 49e0bbb333ad0f55a8dd24d61c57e4ebde45db08, reversing changes made to 2f2a55496a21b20ae7ad9b8b193c83b90ff8256a. --- pkgs/development/python-modules/Pygments/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'pkgs/development/python-modules/Pygments/default.nix') diff --git a/pkgs/development/python-modules/Pygments/default.nix b/pkgs/development/python-modules/Pygments/default.nix index 48d74fddd43..a879aef0226 100644 --- a/pkgs/development/python-modules/Pygments/default.nix +++ b/pkgs/development/python-modules/Pygments/default.nix @@ -2,8 +2,6 @@ , buildPythonPackage , fetchPypi , docutils -, pytestCheckHook -, doCheck ? true }: buildPythonPackage rec { @@ -17,8 +15,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ docutils ]; - inherit doCheck; - checkInputs = [ pytestCheckHook ]; + # Circular dependency with sphinx + doCheck = false; meta = { homepage = "https://pygments.org/"; -- cgit 1.4.1