@@ -8,6 +8,12 @@ poetry2nix.mkPoetryApplication {
88 pyproject = ./pyproject.toml;
99 poetrylock = ./poetry.lock;
1010
11+ overrides = [ (poetry2nix.defaultPoetryOverrides.overrideOverlay (self: super: {
12+ # Needed because poetry2nix currently doesn't handle pyproject.toml python bounds
13+ # See https://github.com/nix-community/poetry2nix/issues/50
14+ importlib-metadata = if python.pythonOlder "3.8" then super.importlib-metadata else null;
15+ }))];
16+
1117 src = fetchFromGitHub (lib.importJSON ./src.json);
1218
1319 # "Vendor" dependencies (for build-system support)