diff options
Diffstat (limited to 'pkgs/development/python-modules/fastimport/default.nix')
-rw-r--r-- | pkgs/development/python-modules/fastimport/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/fastimport/default.nix b/pkgs/development/python-modules/fastimport/default.nix index bd5c270d686..d05037ca9ef 100644 --- a/pkgs/development/python-modules/fastimport/default.nix +++ b/pkgs/development/python-modules/fastimport/default.nix @@ -2,7 +2,7 @@ , pythonOlder , buildPythonPackage , fetchPypi -, python +, unittestCheckHook }: buildPythonPackage rec { @@ -16,9 +16,7 @@ buildPythonPackage rec { sha256 = "6ac99dda4e7b0b3ae831507b6d0094802e6dd95891feafde8cc5c405b6c149ca"; }; - checkPhase = '' - ${python.interpreter} -m unittest discover - ''; + checkInputs = [ unittestCheckHook ]; pythonImportsCheck = [ "fastimport" ]; |