mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
importlib-metadata: Don't remove pyproject.toml
Without this change a build depending on recent versions of `keyring` results in: > ERROR: Could not find a version that satisfies the requirement importlib-metadata>=3.6 (from keyring==23.0.1) (from versions: none) > ERROR: No matching distribution found for importlib-metadata>=3.6 (from keyring==23.0.1)
This commit is contained in:
parent
6549bd9534
commit
872f1d5519
1 changed files with 3 additions and 0 deletions
|
@ -436,6 +436,9 @@ self: super:
|
|||
importlib-metadata = super.importlib-metadata.overridePythonAttrs (
|
||||
old: {
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ lib.optional self.python.isPy2 self.pathlib2;
|
||||
|
||||
# disable the removal of pyproject.toml, required because of setuptools_scm
|
||||
dontPreferSetupPy = true;
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue