Note: this only affects GHC, not haskellPackages, which still suffers from https://ghc.haskell.org/trac/ghc/ticket/15449.