Merge pull request #80880 from Infinisil/poetry-python-3.8
poetry: Fix build with Python 3.8
This commit is contained in:
commit
5c50087566
1 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,12 @@ poetry2nix.mkPoetryApplication {
|
|||
pyproject = ./pyproject.toml;
|
||||
poetrylock = ./poetry.lock;
|
||||
|
||||
overrides = [ (poetry2nix.defaultPoetryOverrides.overrideOverlay (self: super: {
|
||||
# Needed because poetry2nix currently doesn't handle pyproject.toml python bounds
|
||||
# See https://github.com/nix-community/poetry2nix/issues/50
|
||||
importlib-metadata = if python.pythonOlder "3.8" then super.importlib-metadata else null;
|
||||
}))];
|
||||
|
||||
src = fetchFromGitHub (lib.importJSON ./src.json);
|
||||
|
||||
# "Vendor" dependencies (for build-system support)
|
||||
|
|
Loading…
Reference in a new issue