@@ -219,9 +219,8 @@ ghciCmd ghciOpts =
219219              }
220220        local (set buildOptsL boptsLocal) (ghci ghciOpts)
221221
222- --  |  Launch a GHCi session for the given local package targets with the 
223- --  given options and configure it with the load paths and extensions 
224- --  of those targets. 
222+ --  |  Launch a GHCi session for the given project package targets with the given 
223+ --  options and configure it with the load paths and extensions of those targets. 
225224ghci  ::  HasEnvConfig  env  =>  GhciOpts  ->  RIO  env  () 
226225ghci opts =  do 
227226  let  buildOptsCLI =  defaultBuildOptsCLI
@@ -280,7 +279,7 @@ ghci opts = do
280279        case  targets of 
281280          TargetAll  _  ->  [T. pack (packageNameString pn)]
282281          TargetComps  comps ->  [renderPkgComponent (pn, c) |  c <-  toList comps]
283-   --  Build required dependencies and setup local  packages.
282+   --  Build required dependencies and setup project  packages.
284283  buildDepsAndInitialSteps opts $ 
285284    concatMap  (\ (pn, (_, t)) ->  pkgTargets pn t) localTargets
286285  targetWarnings localTargets nonLocalTargets mfileTargets
@@ -472,11 +471,11 @@ getAllNonLocalTargets targets = do
472471buildDepsAndInitialSteps  ::  HasEnvConfig  env  =>  GhciOpts  ->  [Text ] ->  RIO  env  () 
473472buildDepsAndInitialSteps ghciOpts localTargets =  do 
474473  let  targets =  localTargets ++  map  T. pack ghciOpts. additionalPackages
475-   --  If necessary, do the build, for local  packagee targets, only do
474+   --  If necessary, do the build, for project  packagee targets, only do
476475  --  'initialBuildSteps'.
477476  whenJust (nonEmpty targets) $  \ nonEmptyTargets -> 
478477    unless ghciOpts. noBuild $  do 
479-       --  only new local  targets could appear here
478+       --  only new project package  targets could appear here
480479      eres <-  buildLocalTargets nonEmptyTargets
481480      case  eres of 
482481        Right ()  ->  pure  () 
@@ -1133,19 +1132,20 @@ targetWarnings localTargets nonLocalTargets mfileTargets = do
11331132      , parens $  fillSep $  punctuate " ," $  map 
11341133          (style Good  .  fromPackageName)
11351134          nonLocalTargets
1136-       , flow " are not local  packages, and so cannot be directly loaded. In \
1135+       , flow " are not project  packages, and so cannot be directly loaded. In \
11371136             \future versions of Stack, this might be supported - see"  
1138-       , style Url  " https://github.com/commercialhaskell/stack/issues/1441" 
1139-       , " ." 
1137+       , style Url  " https://github.com/commercialhaskell/stack/issues/1441" <>  " ." 
11401138      , flow " It can still be useful to specify these, as they will be passed \
1141-              \to ghci via -package flags."  
1139+              \to ghci via"  
1140+       , style Shell  " -package" 
1141+       , " flags." 
11421142      ]
11431143  when (null  localTargets &&  isNothing mfileTargets) $  do 
11441144    smWanted <-  view $  buildConfigL .  to (. smWanted)
11451145    stackYaml <-  view stackYamlL
11461146    prettyNote $  vsep
1147-       [ flow " No local  targets specified, so a plain ghci will be started with  \
1148-              \no package hiding or package options."  
1147+       [ flow " No project package  targets specified, so a plain ghci will be \
1148+              \started with  no package hiding or package options."  
11491149      , " " 
11501150      , flow $  T. unpack $  utf8BuilderToText $ 
11511151               " You are using snapshot: " <> 
0 commit comments