All these case statements are attempting to replicate a Haskell Platform version X install. So if you want to support installing `hawk` with specific versions of the haskell platform then L24 - L27 can be commented or uncommented as you see fit.