diff --git a/pkgs/development/python-modules/aafigure/default.nix b/pkgs/development/python-modules/aafigure/default.nix index 5a371d091085..4eb1c961834b 100644 --- a/pkgs/development/python-modules/aafigure/default.nix +++ b/pkgs/development/python-modules/aafigure/default.nix @@ -21,8 +21,7 @@ buildPythonPackage (finalAttrs: { propagatedBuildInputs = [ pillow ]; - # error: invalid command 'test' - doCheck = false; + nativeCheckInputs = [ pytestCheckHook ]; # Fix impurity. TODO: Do the font lookup using fontconfig instead of this # manual method. Until that is fixed, we get this whenever we run aafigure: