Make switching GHC versions easier on Mac OS
|Reported by:||pumpkin||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Revisions:|
The standard .pkg installer for GHC or the platform follow the Mac OS convention of keeping different versions in separate version folders in the framework, with a symlink from Current to the current version. However, the wrapper scripts (/usr/bin/ghc, runhaskell, ghci) all explicitly mention the full path to the GHC that was most recently installed, like
This prevents us from easily switching versions by just changing the symlink to an older version. Could the variables in the GHC script be changed to something like
so we can switch more easily?