mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 01:31: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 (
|
pytest-django = prev.pytest-django.overridePythonAttrs (
|
||||||
_old: {
|
_old: {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py --replace "'pytest>=3.6'," ""
|
# sometimes setup.py doesn't exist
|
||||||
substituteInPlace setup.py --replace "'pytest>=3.6'" ""
|
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