Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add haskell-language-server-bin to Arch Linux section #1642

Merged
merged 4 commits into from
Apr 5, 2021
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
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ To install, download the `haskell-language-server-wrapper` executable for your p

### Arch Linux

If you are using Arch Linux with **dynamically linked** Haskell packages from `pacman`,
The preferred method of installation for development purposes is to use the [haskell-language-server-bin](https://aur.archlinux.org/packages/haskell-language-server-bin) package from AUR. This package contains statically linked binaries for each supported GHC version and `haskell-language-server-wrapper` for dynamic GHC version selection. It is updated regularly, requires no additional dependencies, and is independent of other haskell packages you may have on your system, including GHC. Its size is relatively large (approx. 900 MB), but if this is a problem for you, during installation you can disable the GHC versions you will not be using by editing the PKGBUILD file.
berberman marked this conversation as resolved.
Show resolved Hide resolved
berberman marked this conversation as resolved.
Show resolved Hide resolved

Copy link
Member

@Ailrun Ailrun Mar 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's maybe better to update the following paragraph so that they flow better.

Copy link
Contributor Author

@marcin-rzeznicki marcin-rzeznicki Mar 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to admit that I like how they flow and it seems logical to me: The preferred method (...) is (...) . If you're using [something else] then (...). But I'm open to suggestions

Copy link
Member

@Ailrun Ailrun Mar 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean we may put some connection words like

- If you are using ArchLinux with **dynamically linked** ... you can ...
+ Alternatively if you are using **dynamically linked** ... you can also ...

and removing "ArchLinux" as this paragraph is already quite far from the section title, it feels a bit awkward to mention "ArchLinux" again...
Though I'm not strongly inclined towards this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, good idea

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 7d7d83e

Alternatively, if you want to use **dynamically linked** Haskell packages from `pacman`,
you can install the latest pre-compiled version of `haskell-language-server` from [[community]](https://archlinux.org/packages/community/x86_64/haskell-language-server/):

```
Expand Down