Thicket thicket
ocaml
REPOS 1

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W41.2026 · 5–11 Octocaml/opam

Features

  • opam now sets safe.directory=. when invoking git, allowing repositories owned by a different local user (e.g. in Docker containers). Fixes git ls-files failures under CI. #6980, backported to 2.6 in #7182.
  • Explicit Haiku platform support added: vmin handling corrected for Haiku's vmin=4, and platform-specific code paths adjusted. #7138 (merged 2026-10-08).

Compatibility and Releases

  • opam 2.6.1 released 2026-10-07. Includes the git safe.directory fix, the GIT_CONFIG_* Windows fix, and the lockfile update. See release notes.
  • FAQ now documents that since 2.6.0, global/system git config is ignored, and that GIT_CONFIG_COUNT, GIT_CONFIG_KEY_<n>, GIT_CONFIG_VALUE_<n> environment variables remain available for URL rewriting and similar use cases. #7187.

Fixes

  • FreeBSD/i386 build failure (ptrdiff_t typedef conflict in vendored checkseum) resolved by updating the lockfile to checkseum 0.5.4 and decompress 1.6.1. #7172, backported in #7181.
  • GIT_CONFIG_GLOBAL/GIT_CONFIG_SYSTEM now use /dev/null on Windows as well as Unix, working around a bug in Git-for-Windows 2.56.0.windows.1 that rejects NUL. #7085, backported in #7191.
  • opam install --depext-only now installs depexts only for newly added packages rather than all packages in the solution, preventing spurious system-package installs for packages being removed or updated. #7166.
  • Removed redundant set operations in OpamSwitchState.universe that caused opam to consider a larger package set than necessary, eliminating unwanted recompilation of already-installed packages. #7154.