See discussion in https://github.com/commercialhaskell/stack/pull/3327#issuecomment-321151282
See discussion in #3327 (comment)