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
I need some time to refactor and update to opam 2.2, but this change helped with the issue:
--- a/src/duni_deps.ml+++ b/src/duni_deps.ml@@ -11,11 +11,15 @@
let deps opam =
let depends = OpamFile.OPAM.depends opam in
let env var = match OpamVariable.Full.to_string var with
- | "monorepo" | "vendor" -> Some (OpamTypes.B true)- | "build" | "with-test" | "dev" | "with-doc" | "post" -> Some (B false)+ | "monorepo" | "vendor" | "post" -> Some (OpamTypes.B true)+ | "build" | "with-test" | "dev" | "with-doc" -> Some (B false)+ | "os" -> Some (S "freebsd")+ | "os-family" -> Some (S "bsd")+ | "os-distribution" -> Some (S "freebsd")+ | "arch" -> Some (S "x86_64")
| _ -> None
in
- OpamFilter.filter_formula ~default:false env depends+ OpamFilter.filter_formula env depends
let map_of_formula f =
let v = function
since ocaml/opam-repository#25861 got merged, I can see the following error, which should be looked into further:
6m40s [ORB] error in duni_deps: set_of_formula: couldn't figure out or (((system-mingw) | system-msvc)) | (((system-mingw) | system-msvc))
The text was updated successfully, but these errors were encountered: