@@ -80,6 +80,7 @@ import Stack.Types.EnvConfig
8080 , shaPathForBytes
8181 )
8282import Stack.Types.EnvSettings ( defaultEnvSettings )
83+ import Stack.Types.GhciOpts ( GhciOpts (.. ) )
8384import Stack.Types.Installed ( InstallMap , InstalledMap )
8485import Stack.Types.NamedComponent
8586 ( NamedComponent (.. ), isCLib , isCSubLib , renderComponentTo
@@ -154,24 +155,6 @@ instance Pretty GhciPrettyException where
154155
155156instance Exception GhciPrettyException
156157
157- -- | Typre respresenting command line options for the @stack ghci@ and
158- -- @stack repl@ commands.
159- data GhciOpts = GhciOpts
160- { targets :: ! [Text ]
161- , args :: ! [String ]
162- , ghcOptions :: ! [String ]
163- , flags :: ! (Map ApplyCLIFlag (Map FlagName Bool ))
164- , ghcCommand :: ! (Maybe FilePath )
165- , noLoadModules :: ! Bool
166- , additionalPackages :: ! [String ]
167- , mainIs :: ! (Maybe Text )
168- , loadLocalDeps :: ! Bool
169- , hidePackages :: ! (Maybe Bool )
170- , noBuild :: ! Bool
171- , onlyMain :: ! Bool
172- }
173- deriving Show
174-
175158-- | Type representing information required to load a package or its components.
176159--
177160-- NOTE: GhciPkgInfo has paths as list instead of a Set to preserve files order
0 commit comments