mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 17:21:39 -05:00
overrides: fix pytest-django wheel build
This commit is contained in:
parent
013b9da23d
commit
f12241311f
1 changed files with 5 additions and 2 deletions
|
@ -2803,8 +2803,11 @@ lib.composeManyExtensions [
|
|||
pytest-django = prev.pytest-django.overridePythonAttrs (
|
||||
_old: {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "'pytest>=3.6'," ""
|
||||
substituteInPlace setup.py --replace "'pytest>=3.6'" ""
|
||||
# sometimes setup.py doesn't exist
|
||||
if [ -f setup.py ]; then
|
||||
substituteInPlace setup.py --replace "'pytest>=3.6'," ""
|
||||
substituteInPlace setup.py --replace "'pytest>=3.6'" ""
|
||||
fi
|
||||
'';
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue