poetry: Remove importlib-metadata override

This workaround is no longer required as the bug requiring it has been
fixed in poetry2nix.
This commit is contained in:
adisbladis 2020-02-24 13:37:34 +00:00
parent e90bf5782e
commit 48e4304adf
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7

View file

@ -8,12 +8,6 @@ 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)