Thank you for helping me understand the tools better.
I found a post comparing mach-nix and poetry2nix. Though this was in May 2020, and might be outdated.
For reference, the pypi-deps-db is ~74.9 MiB as of today, which is fine once downloaded.
poetry2nixtries to be pure and builds everything from source, there’s an undocumented option to usewheelsbut I don’t know if it works anymore.
I just discovered that the preferWheels feature was recently documented ~7 days ago: Document preferWheels parameter · nix-community/poetry2nix@c13ba70 · GitHub.
I need to re-mention that Nix-ifying the Python environment in Zulip is one of the steps toward moving the rest of the non-Python components to Nix. This means it will include nodejs, PostgreSQL, Redis, nginx, RabbitMQ, and so on as well (documentation can be found here). Is it possible to embed mach-nix.mkPython/poetry2nix.mkPoetryApplication as a part of a larger build system?