diff --git a/pkgs/development/python-modules/django-auditlog/default.nix b/pkgs/development/python-modules/django-auditlog/default.nix index 9a2cb264f816..4b488a328ae8 100644 --- a/pkgs/development/python-modules/django-auditlog/default.nix +++ b/pkgs/development/python-modules/django-auditlog/default.nix @@ -50,11 +50,13 @@ buildPythonPackage rec { checkPhase = '' runHook preCheck + cd auditlog_tests # strip escape codes otherwise tests fail # see https://github.com/jazzband/django-auditlog/issues/644 TEST_DB_USER=$PGUSER \ TEST_DB_HOST=$PGHOST \ - ${python.interpreter} runtests.py | cat + ${python.interpreter} ./manage.py test | cat + cd .. runHook postCheck '';