diff options
Diffstat (limited to 'pkgs/development/python-modules/karton-core/default.nix')
-rw-r--r-- | pkgs/development/python-modules/karton-core/default.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/karton-core/default.nix b/pkgs/development/python-modules/karton-core/default.nix index d4e95481327bb..9a25f3cf12375 100644 --- a/pkgs/development/python-modules/karton-core/default.nix +++ b/pkgs/development/python-modules/karton-core/default.nix @@ -2,7 +2,7 @@ , boto3 , buildPythonPackage , fetchFromGitHub -, python +, unittestCheckHook , redis }: @@ -22,11 +22,7 @@ buildPythonPackage rec { redis ]; - checkPhase = '' - runHook preCheck - ${python.interpreter} -m unittest discover - runHook postCheck - ''; + checkInputs = [ unittestCheckHook ]; pythonImportsCheck = [ "karton.core" |