Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gilligan/nix-ghcide
nix expressions for hie-core
https://github.com/gilligan/nix-ghcide
ghcide haskell nix
Last synced: 2 months ago
JSON representation
nix expressions for hie-core
- Host: GitHub
- URL: https://github.com/gilligan/nix-ghcide
- Owner: gilligan
- Created: 2019-09-07T15:12:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-20T23:32:48.000Z (over 5 years ago)
- Last Synced: 2024-10-12T00:30:48.984Z (3 months ago)
- Topics: ghcide, haskell, nix
- Language: Nix
- Size: 12.7 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ghcide for nix
Nix expressions for [ghcide](https://github.com/digital-asset/ghcide). Provides binaries for
- ghc844
- ghc864
- ghc865Also provided is `ghcide-wrapper` which picks one of the versions above based on the
output of `ghc --version`.### ghcide-wrapper
Instead of specifying one of the ghc-specific versions just specify `ghcide-wrapper --lsp` as the
lsp server command in your editor configuration.### Installation
```
$ nix-env -iA ghcide-wrapper -f https://github.com/gilligan/nix-ghcide/tarball/master
```### Cachix
```
$ cachix use ghcide
```### But.. Why?
I am aware that there is [ghcide-nix](https://github.com/hercules-ci/ghcide-nix) already
and `ghcide` should land in nixpkgs/master sometime soon but I had already started so i might
as well stick to it ;) This repo builds on Nixpkgs' `haskellPackages` rather than relying on [`haskell.nix`](https://input-output-hk.github.io/haskell.nix/). It
makes liberal use of jailbreaking to compile ghcide with what's in `haskellPackages`.