opam is a source-based package manager. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
PR #5962 moved storage of last-env files at root (in <oam-root>/.last-env) instead of at switch level. It is no more cleaned during switch cleaning (https://github.com/ocaml/opam/pull/5962#discussion_r1611340591).
These files need to remain until the terminal session is ended, or more generally at reboot.
One discussed solution is to delete them according timestamp information.
PR #5962 moved storage of last-env files at root (in
<oam-root>/.last-env
) instead of at switch level. It is no more cleaned during switch cleaning (https://github.com/ocaml/opam/pull/5962#discussion_r1611340591). These files need to remain until the terminal session is ended, or more generally at reboot. One discussed solution is to delete them according timestamp information.