You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dune init has been introduced in 1.9.0 but obviously it does not support Coq. No problem, it is easy enough to create a dune file based on the examples in the doc.
I add a single dune file, it creates a dune-project file automatically and put the following in it:
(lang dune 1.9)
(using coqlib 0.1)
I try to rebuild, Dune says Error: Unknown extension "coqlib".
I remove the "lib" part from dune-project that is an obvious (small) mistake and try to rebuild. Dune says Error: Program ocamlc not found in the tree or in PATH (context: default)
I add ocamlc to my PATH (even if it's a pure Coq project) and try to rebuild. It works 🎉