Giter Club home page Giter Club logo

Comments (3)

Leonidas-from-XIV avatar Leonidas-from-XIV commented on August 24, 2024 1

Glad to hear it worked! My general idea would be to remove the local opam solver, since having two different implementations with rather varying behavior creates a lot of headaches.

I think the local switch solver can be emulated by reading the switches opam-repository without using the rest of the OPAM machinery.

from opam-monorepo.

Leonidas-from-XIV avatar Leonidas-from-XIV commented on August 24, 2024

I skimmed the code and I think it only works if you use the explicit_repo solver, not if you use the switch solver which presumably uses the variables that the switch has set.

You can see it in opam_solve.ml, only the Multi_dir_context uses opam_env (which is constructed from --global-opam-vars) as input, the Local_opam_context uses switch as input and that's just the switch state of OPAM.

from opam-monorepo.

tpetr avatar tpetr commented on August 24, 2024

Explicitly setting opam repositories did the trick, thanks! It would be great if we could update the docs to make that clearer.

from opam-monorepo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.