From 62c6eaed1afa9ce64a5f53998bd459a80136a06e Mon Sep 17 00:00:00 2001 From: Gleb Popov <6yearold@gmail.com> Date: Thu, 15 Apr 2021 09:28:47 +0300 Subject: [PATCH] Add installation instructions for FreeBSD. --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 6675f97c54..3b13002c0b 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ background](https://neilmitchell.blogspot.com/2020/01/one-haskell-ide-to-rule-th - [Visual Studio Code](#visual-studio-code) - [Pre-built binaries](#pre-built-binaries) - [Arch Linux](#arch-linux) + - [FreeBSD](#freebsd) - [Installation from source](#installation-from-source) - [Common pre-requirements](#common-pre-requirements) - [Linux-specific pre-requirements](#linux-specific-pre-requirements) @@ -155,6 +156,17 @@ sudo pacman -S haskell-language-server In this case, `haskell-language-server` is compiled against the GHC distributed to Arch Linux, so you will need maintain a system wide Haskell development environment, and install GHC from `pacman` as well. See [ArchWiki](https://wiki.archlinux.org/index.php/Haskell) for the details of Haskell infrastructure on Arch Linux. +### FreeBSD + +HLS is available for installation from official binary packages. Use + +``` +pkg install hs-haskell-language-server +``` + +to install it. At the moment, HLS installed this way only supports the same GHC +version as the ports one. + ### Installation from source #### Common pre-requirements