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
This can be implemented easily once #315 is merged, since then the variables can be passed to the solver without the need of modifying variables in the users switch.
The text was updated successfully, but these errors were encountered:
I have been able to implement the changes in the Mirage tool, but there are some changes that would simplify the patch.
Basically, what we want to do is:
have a single opam file for switch and monorepo dependencies
lock and pull that file using opam-monorepo
install the switch dependencies using opam on the opam file
It's a bit different from the current workflow:
have a single opam file for switch and monorepo dependencies
lock and pull that file using opam-monorepo
install the switch dependencies using opam on the lockfile
The problem is that the lockfile is not opam-installable as opam-overlays is temporarily added, so +dune packages are not available. By using a variable in the opam file I'm able to let opam only install the switch dependencies:
It can be helpful to have an OPAM variable that is truthy when it is evaluated by the solver of
opam-monorepo
and falsy (default) when run withopam
.For context see the discussion here: mirage/mirage#1332
This can be implemented easily once #315 is merged, since then the variables can be passed to the solver without the need of modifying variables in the users switch.
The text was updated successfully, but these errors were encountered: