Closed gridbugs closed 1 year ago
What kind of unknown variable issue are you having? Is that related to https://github.com/ocaml-opam/opam-0install-solver/pull/46 ?
It's adding a lot of noise to the output of opam monorepo lock
which looks like https://github.com/tarides/opam-monorepo/issues/349 and https://github.com/ocaml-opam/opam-0install-solver/issues/45.
In that case it's an actual bug (variables that should be taken into account are not) so I would be inclined to close this and instead to focus on fixing https://github.com/tarides/opam-monorepo/issues/349 properly. Do you want to have a go at it?
cc @Leonidas-from-XIV
I mean, #46 already exists and solves this issue, just needs to get approved or revised and merged.
Ah I didn't realize there was already a fix for this in progress. Happy to close this and focus on the existing fix instead.
When using the opam-0install library to solve dependencies the "Unknown variable" warnings can get in the way of other console output. This adds an optional argument which enables printing this warning (defaulting to
true
).