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

Update README.md #1459

Merged
merged 3 commits into from
Nov 20, 2019
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ we talk to clients.__
- [Installation from source](#installation-from-source)
- [Common pre-requirements](#common-pre-requirements)
- [Linux-specific pre-requirements](#linux-specific-pre-requirements)
- [Windows-specific pre-requirements (optional)](#windows-specific-pre-requirements-optional)
- [Windows-specific pre-requirements](#windows-specific-pre-requirements)
- [Download the source code](#download-the-source-code)
- [Building](#building)
- [Install specific GHC Version](#install-specific-ghc-version)
Expand Down Expand Up @@ -172,15 +172,14 @@ sudo apt install libicu-dev libtinfo-dev libgmp-dev
sudo dnf install libicu-devel ncurses-devel
```

#### Windows-specific pre-requirements (optional)
#### Windows-specific pre-requirements

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

1. In the `Local Group Policy Editor`: `Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> Filesystem` set `Enable Win32 long paths` to `Enabled` (Works
only for Windows 10).
1. Clone the `haskell-ide-engine` to a short path, for example the root of your logical drive (e.g. to
`C:\hie`). If this doesn't work try the second option.
flip111 marked this conversation as resolved.
Show resolved Hide resolved
flip111 marked this conversation as resolved.
Show resolved Hide resolved

2. Clone the `haskell-ide-engine` to the root of your logical drive (e.g. to
`C:\hie`)
2. If the `Local Group Policy Editor` is available on your system, go to: `Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> Filesystem` set `Enable Win32 long paths` to `Enabled`. If you don't have the policy editor you can use regedit by using the following instructions [here](https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#enable-long-paths-in-windows-10-version-1607-and-later). You also 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`.

#### Download the source code

Expand Down