Format of dependencies in dune-project

What is the correct format for this dependency in dune :

(topkg (and (:build) (<> :os “win32”)))

I have troubles with this package on windows builds

Also is there a way in dune to have

x-ci-accept-failures: ["debian-13","fedora-42"]

automatically added at the end of the dune-project file ?

dune 3.20.2
opam 2.2.1

What is the trouble? Please file an update upstream if topkg is not working on windows, but as far as I remember, it does.

Apparently this is a known issue for which a fix will be released soon. So I remove my local fix, for which, by the way, I have found the correct syntax (this was my question) :

(topkg (and (<> :os “win32”) :build))

1 Like