ocaml.nvim icon indicating copy to clipboard operation
ocaml.nvim copied to clipboard

It seems that the following dune-workspace files need to be updated.

Open sicheng1806 opened this issue 4 months ago • 0 comments

When I run make I get the following error:

File "dune-workspace", lines 6-8, characters 0-136:
6 | (repository
7 |  (name andrey)
8 |  (source "git+https://github.com/andreypopp/opam-repository-1.git#7617b0899497eaa0447b
bc19b15467c7237aa290"))
Error: Field "url" is missing
When I change to the following it builds fine:

When I changed source to url, it worked fine:

(lang dune 3.17)

(lock_dir
 (repositories overlay andrey))

(repository
 (name andrey)
 (url "git+https://github.com/andreypopp/opam-repository-1.git#7617b0899497eaa0447bbc19b15467c7237aa290"))

It seems that the syntax has been updated with the version (I'm just a newbie and don't know exactly what happened).

This is my ocaml related environment:

$ dune --version
3.20.2

$ ocaml --version            
The OCaml toplevel, version 5.3.0

$ opam --version
2.4.1

sicheng1806 avatar Oct 21 '25 04:10 sicheng1806