nix-community/poetry2nix

`fastapi-cli` is not installed with the new `"fastapi[standard]"`

Opened this issue · 1 comments

Describe the issue

I would expect fastapi cmd to work with mkPoetryEnv and the latest fastapi[standard], but it does not.
poetry run fastapi does not find a command. I can see fastapi bin in the final poetryEnv derivation, but its broken and tells me to run pip install fastapi[standard] (still doesn't help).
If I try to add fastapi-cli as a poetry dependency, the build will fail completely.

uv2nix had a similary run in recently. 'bin/fastapi' is being supplied by both packages, but goes to the same entry point. Perhaps try to add an override for fastapi that deletes bin/fastapi after build, so that fastapi-cli can place it's version (or visa versa).