Today I was writing elixir code the first time in my life, to convert mix.lock to json, for later processing and converting to guix package definitions.
One of the problems I faced is a lack of specification of lock file format.
I still have a few questions, but having sha256 in lock files is very promising. We will be able to generate package definitions for the whole project without accessing network.
I was using mix2nix as a foundation:
https://github.com/ydlr/mix2nix
@abcdw there intentionally isn’t a published format because they want the flexibility to change the format in the future. Kind of sucks for Nix and Guix folks, but that’s how it is.