I’ve been recently been plaing around with Nix my new Macbook Pro, and have been interested in experimenting with OCaml. As part of this I’ve made an over-engineered Hello World example project, demonstrating how to set up OCaml with Nix flakes and Dune. I’ve got no idea of it’s useful to anybody, but I thought I’d publish it in the off-chance it is.
Let me know if I’ve done anything particularly silly, or if I’m missing anything in the documentation that might be worth mentioning. I’m neither an expert in Nix, nor an expert in OCaml or Dune, so this is very likely! It’s released under MIT-0 so feel free to do whatever you want with it.