Use ghc-debug

This commit is contained in:
Julian Ospald 2022-06-11 15:30:52 +02:00
parent 028696d4be
commit f60e1d1624
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F
3 changed files with 6 additions and 1 deletions

View File

@ -26,6 +26,7 @@ import GHCup.Prelude
import GHCup.Prelude.Logger
import GHCup.Prelude.String.QQ
import GHCup.Version
import GHC.Debug.Stub
import Cabal.Plan ( findPlanJson, SearchPlanJson(..) )
import Control.Concurrent
@ -120,7 +121,7 @@ plan_json = $( do
main :: IO ()
main = do
main = withGhcDebug $ do
-- https://gitlab.haskell.org/ghc/ghc/issues/8118
setLocaleEncoding utf8

View File

@ -32,4 +32,7 @@ package aeson
package streamly
flags: +use-unliftio
package *
ghc-options: -finfo-table-map -fdistinct-constructor-tables
allow-newer: base, ghc-prim, template-haskell, language-c

View File

@ -240,6 +240,7 @@ executable ghcup
, deepseq ^>=1.4
, directory ^>=1.3.6.0
, filepath ^>=1.4.2.1
, ghc-debug-stub
, ghcup
, haskus-utils-types ^>=1.5
, haskus-utils-variant ^>=3.2.1