I’m asking for experience reports here. My situation is:
I’ve got multiple Python projects I would like to use Nix with. They have a
setup.pyand I’m currently using
pipto install dependencies (as in
pip install -e .[some-flags]).
Ideally, I would like to not write any custom Nix derivations for these projects and have one derived for me from the
setup.py, or possibly from a
requirements.txtor something similar. My goals would be:
Using direnv + nix-shell to auto-load a nice shell environment with all dependencies in place when I
cdinto the directory.
Package my application into a Docker container easily (possibly only one of the
Is something like that possible? I saw that there is…
- pypi2nix which has been abandoned
- poetry2nix for which I would have to adopt poetry, a step I’d be willing to take if it really works.
Is there any…methodology or something I missed?