ocaml / opam

opam is a source-based package manager. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
https://opam.ocaml.org
Other
1.21k stars 348 forks source link

`opam lock` includes the `host-arch` and `host-system` packages #6042

Open raphael-proust opened 1 week ago

raphael-proust commented 1 week ago

When running opam lock, the host-arch and host-system packages are included in the lock file. I believe they shouldn't.

In my specific case I ended up with host-arch-x86_64 and host-system-other being listed. I removed them by hand from the lockfile so that my colleagues on other arches/systems would still be able to use the lockfile.

hannesm commented 1 week ago

related https://discuss.ocaml.org/t/reproducible-builds-across-different-architectures/14799 //cc @dra27