2 ms·
Nix calls them "derivations", but yeah you're right again. Lots of weird language in this space. Specifically, we use this nix project [1] which provides a nic
by drawnwren 2y ago
Nix calls them "derivations", but yeah you're right again. Lots of weird language in this space.
Specifically, we use this nix project [1] which provides a nice translation layer between a poetry project and a nix derivation. It allows our devs to use poetry where they want (with local relative paths in the pyproject.toml) and ci/cd to have more granular control of deps at build time.
There are some corner cases. As you correctly guessed, some more obscure python libraries might require a few extra lines (i.e. to specify that this package needs setuptools etc). of code.
1 - https://github.com/nix-community/poetry2nix https://github.com/nix-community/poetry2nix