Does anyone have any tips for getting opam-monorepo to play nice with os-specific packages?
My project depends on
eio and I develop on an M1 Mac, which means that my lockfile includes
eio_posix. This works fine until I try building a docker image, which fails due to
eio_linux not being installed (technically it fails due to missing dependencies like
uring, but you get the idea).
I know that I could simply
opam install eio_linux in the Dockerfile, but that feels a little gross (and kinda negates the purpose of the lockfile). Is there a best practice here?