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
One side effect of the extensible snapshots overhaul was relying on installed GHCs for global package information. Ignoring a lot of intermediate details, this led to a situation where, today, stack init --resolver ghc-8.0.2 --solver fails, because it doesn't know that GHC contains base.
Solution: when a ghc resolver is used, we need to install that GHC version before running the solver, and properly load global package information. We should probably do this in all cases that an explicit resolver is used, and only use global package guessing when doing a plain stack init, in order to avoid downloading a dozen GHC versions while testing out different snapshots.
Activity
Failing test case for #3397
Allow solver to work with ghc- resolver (fixes #3397)
Failing test case for commercialhaskell#3397
Allow solver to work with ghc- resolver (fixes commercialhaskell#3397)