It'd be nice to be able to specify variables in the dune-project file such that one could write. Ideally, these variables would also be usable across the project in other dune files.
(define-var min-ocaml-version 5.4.0)
(package
(name package1)
(depends
(ocaml
(>= %{min-ocaml-version))))
(package
(name package2)
(depends
(ocaml
(>= %{min-ocaml-version))))