Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 4d7d08b

Browse files
authored
Update README.md
The windows pre-requirements are not optional but an absolute must when cloning. Well if you already have the right settings it will be a no-op just like installing `sudo apt install libicu-dev libtinfo-dev libgmp-dev` on linux will be a no-op when you already have them. Setting the windows path limitation was not enough. Git also needs to be configured.
1 parent e839e89 commit 4d7d08b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ we talk to clients.__
2727
- [Installation from source](#installation-from-source)
2828
- [Common pre-requirements](#common-pre-requirements)
2929
- [Linux-specific pre-requirements](#linux-specific-pre-requirements)
30-
- [Windows-specific pre-requirements (optional)](#windows-specific-pre-requirements-optional)
30+
- [Windows-specific pre-requirements](#windows-specific-pre-requirements)
3131
- [Download the source code](#download-the-source-code)
3232
- [Building](#building)
3333
- [Install specific GHC Version](#install-specific-ghc-version)
@@ -172,15 +172,15 @@ sudo apt install libicu-dev libtinfo-dev libgmp-dev
172172
sudo dnf install libicu-devel ncurses-devel
173173
```
174174

175-
#### Windows-specific pre-requirements (optional)
175+
#### Windows-specific pre-requirements
176176

177-
In order to avoid problems with long paths on Windows you can do the following:
177+
In order to avoid problems with long paths on Windows you can do either one of the following:
178178

179-
1. In the `Local Group Policy Editor`: `Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> Filesystem` set `Enable Win32 long paths` to `Enabled` (Works
180-
only for Windows 10).
179+
1. Clone the `haskell-ide-engine` to the root of your logical drive (e.g. to
180+
`C:\hie`). If this doesn't work try the second option.
181181

182-
2. Clone the `haskell-ide-engine` to the root of your logical drive (e.g. to
183-
`C:\hie`)
182+
2. In the `Local Group Policy Editor`: `Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> Filesystem` set `Enable Win32 long paths` to `Enabled` (Works
183+
only for Windows 10). Also you need to configure git to allow longer paths by using unicode paths. To set this for all your git repositories use `git config --system core.longpaths true` (you probably need an administrative shell for this) or for just this one repository use `git config core.longpaths true`.
184184

185185
#### Download the source code
186186

0 commit comments

Comments
 (0)