diff --git a/pkgs/by-name/po/poetry/plugins/poetry-plugin-export.nix b/pkgs/by-name/po/poetry/plugins/poetry-plugin-export.nix index 370bf96a33d1..7bea1fc4f59c 100644 --- a/pkgs/by-name/po/poetry/plugins/poetry-plugin-export.nix +++ b/pkgs/by-name/po/poetry/plugins/poetry-plugin-export.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch, poetry, poetry-core, pytest-mock, @@ -21,6 +22,18 @@ buildPythonPackage rec { hash = "sha256-AP3/njzbLEi2s4pOUSLLLzqNprvxwLe9LSY7qh08EWc="; }; + patches = [ + # Remove after next release of poetry-plugin-export + (fetchpatch { + url = "https://github.com/python-poetry/poetry-plugin-export/commit/16637f194e86708913ec6e09064c713eb0715bb6.patch"; + includes = [ + "tests/test_exporter.py" + "tests/markers.py" + ]; + hash = "sha256-ncz9kqp18+yeRXlhmLEcWfO1bDavjohhmVw6DwTy1hA="; + }) + ]; + build-system = [ poetry-core ];