From e840602b3bc345948a2199bb20bd25c8df1d6a52 Mon Sep 17 00:00:00 2001 From: Yuri Albuquerque Date: Thu, 26 Nov 2020 12:39:10 -0300 Subject: [PATCH] Fix pytest-django. Closes #212 --- overrides.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/overrides.nix b/overrides.nix index 11ca0dc..16d66c4 100644 --- a/overrides.nix +++ b/overrides.nix @@ -976,6 +976,15 @@ self: super: } ); + pytest-django = super.pytest-django.overridePythonAttrs ( + old: { + postPatch = '' + substituteInPlace setup.py --replace "'pytest>=3.6'," "" + substituteInPlace setup.py --replace "'pytest>=3.6'" "" + ''; + } + ); + pytest-runner = super.pytest-runner or super.pytestrunner; python-jose = super.python-jose.overridePythonAttrs (