Closed jonahbeckford closed 8 months ago
Well, that's too bad because I remember we switched to directories
precisely because we thought it would handle better cross-platform config dirs...
I guess we could switch back to the old scheme
https://v3.ocaml.org/p/xdg/latest/doc/index.html works in both Windows and Unix.
wouldn't xdg
pull in the whole dune
as a runtime dependency?
(this is a naive question; I don't know what binaries really include)
(for the moment, dune is used only for building)
No, it has no runtime dependencies ... just like directories
. https://github.com/ocaml/dune/blob/main/xdg.opam
I will send you a PR.
The last version of bogue pulled in the
directories
package. The problem is that package does not work on Windows: https://github.com/OCamlPro/directories/issues/14That's stuck because
xdg
has become the standard (its logic has made its way into the ocaml compiler for profile calculation). And the authors don't have access to a Windows machine.Thoughts?