overrides.importlib-metadata: Explicitly pass version to setuptools

This commit is contained in:
adisbladis 2021-12-25 20:03:29 -08:00
parent f00e96064e
commit a0326eafd8

View file

@ -568,6 +568,10 @@ self: super:
# disable the removal of pyproject.toml, required because of setuptools_scm
dontPreferSetupPy = true;
postPatch = old.postPatch or "" + ''
substituteInPlace setup.py --replace 'setuptools.setup()' 'setuptools.setup(version="${old.version}")'
'';
}
);