From 315daa4f8cdab81fd37847dfb914f0056927fef3 Mon Sep 17 00:00:00 2001
From: Paul Jewell <paul@teulu.org>
Date: Mon, 14 Mar 2022 09:52:32 +0000
Subject: [PATCH 1/2] Add Gentoo installation details

---
 docs/installation.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/docs/installation.md b/docs/installation.md
index 782e5cf36c..1a68778d47 100644
--- a/docs/installation.md
+++ b/docs/installation.md
@@ -87,6 +87,15 @@ sudo apt install libicu-dev libncurses-dev libgmp-dev zlib1g-dev
 sudo dnf install libicu-devel ncurses-devel zlib-devel
 ```
 
+**Gentoo**
+
+Haskell-language-server is available via the haskell overlay. Follow the instructions [here](https://github.com/gentoo-haskell/gentoo-haskell) to install the overlay, then run:
+
+```bash
+emerge -av dev-util/haskell-language-server
+```
+Depending on your system setup, you may need to enable the unstable flag for this package before install, and possible also for the dependencies. If you enabled the ~testing versions as explained in the gentoo-haskell overlay instructions, then this won't be necessary.
+
 ### Windows-specific pre-requirements
 
 In order to avoid problems with long paths on Windows you can do either one of the following:

From 8750caa44fbc9a2570a675fd1c985a0d4e56aee5 Mon Sep 17 00:00:00 2001
From: Paul Jewell <paul@teulu.org>
Date: Mon, 14 Mar 2022 12:38:19 +0000
Subject: [PATCH 2/2] Update docs/installation.md

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
---
 docs/installation.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/installation.md b/docs/installation.md
index 1a68778d47..2b8faa8a65 100644
--- a/docs/installation.md
+++ b/docs/installation.md
@@ -89,7 +89,7 @@ sudo dnf install libicu-devel ncurses-devel zlib-devel
 
 **Gentoo**
 
-Haskell-language-server is available via the haskell overlay. Follow the instructions [here](https://github.com/gentoo-haskell/gentoo-haskell) to install the overlay, then run:
+Haskell Language Server is available via the Haskell overlay. Follow the instructions [here](https://github.com/gentoo-haskell/gentoo-haskell) to install the overlay, then run:
 
 ```bash
 emerge -av dev-util/haskell-language-server