Skip to content

Commit b7cbd98

Browse files
committed
add some wording to soothe users about installing GHC.
1 parent 5693431 commit b7cbd98

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ projects. It is aimed at Haskellers both new and experienced.
1010

1111
It features:
1212

13-
* Installing GHC automatically.
13+
* Installing GHC automatically, in an isolated location.
1414
* Installing packages needed for your project.
1515
* Building your project.
1616
* Testing your project.
@@ -48,7 +48,8 @@ You may be prompted to run some of the following along the way:
4848
* `stack init` to create a stack configuration file for an existing project.
4949
stack will figure out what Stackage release (LTS or nightly) is appropriate
5050
for the dependencies.
51-
* `stack setup` to download and install the correct GHC version. (For
51+
* `stack setup` to download and install the correct GHC version in an isolated
52+
location that won't interfere with any system-level installations. (For
5253
information on installation paths, please use the `stack path` command.)
5354

5455
If you just want to install an executable using stack, then all you have

src/Stack/Setup.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,8 @@ downloadAndInstallGHC menv si wanted versionCheck = do
610610
case platform of
611611
Platform _ os | isWindows os -> installGHCWindows
612612
_ -> installGHCPosix
613+
$logInfo "Preparing to install GHC to an isolated location."
614+
$logInfo "This will not interfere with any system-level installation."
613615
downloadAndInstallTool si downloadInfo $(mkPackageName "ghc") selectedVersion installer
614616

615617
getOSKey :: (MonadReader env m, MonadThrow m, HasConfig env, MonadLogger m, MonadIO m, MonadCatch m, MonadBaseControl IO m)

0 commit comments

Comments
 (0)