Tool like python poetry or elixirs mix that makes use of exhaustive lockfiles?

You can just use Nix whose config can be directly generated from the opam file with [ANN] opam2nix (v1).

1 Like