Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Rebuilding packages from the global database with modified dependencies #4510
This applies to Stack master, specifically commit 9900d99. Repro (on a non-Windows system). With the following
resolver: ghc-8.6.3 packages:  extra-deps: - time-126.96.36.199
This replaces the global
This appears to be because the
Possible solution: update the SourceMap to contain information about global packages.
After some further discussion with @qrilka and a reminder that global packages may not match what's on Hackage, I have a different proposal: https://www.snoyman.com/blog/2019/01/mismatched-global-packages.
It looks like we could have troubles going that way but correct me if there are any flaws in my logic: