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
Constants.Config distRelativeDir: use ghc instead of Cabal version
This is a followup fix to the discussion in #5866 about
'.stack-work/dist/<platform>/Cabal-*' causing ghc compilation version confusion.
With this change the path now becomes '.stack-work/dist/<platform>/ghc-*':
ie it disambiguates the path for ghc minor versions, which typically share
the same Cabal minor version.
Further using a ghc versioned build directories makes it much easier
to recognize and clean up old stack build artifacts built with an
older ghc (given that ghc minor versions change faster than Cabal).
0 commit comments