mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
overrides.importlib-metadata: Don't substituteInPlace for wheel package
Closes #241
This commit is contained in:
parent
2afe81f902
commit
de898ab3fb
1 changed files with 2 additions and 2 deletions
|
@ -606,9 +606,9 @@ self: super:
|
|||
# disable the removal of pyproject.toml, required because of setuptools_scm
|
||||
dontPreferSetupPy = true;
|
||||
|
||||
postPatch = old.postPatch or "" + ''
|
||||
postPatch = old.postPatch or "" + (lib.optionalString ((old.format or "") != "wheel") ''
|
||||
substituteInPlace setup.py --replace 'setuptools.setup()' 'setuptools.setup(version="${old.version}")'
|
||||
'';
|
||||
'');
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue