Nix expressions for ghcide. Provides binaries for
- ghc844
- ghc864
- ghc865
Also provided is ghcide-wrapper which picks one of the versions above based on the
output of ghc --version.
Instead of specifying one of the ghc-specific versions just specify ghcide-wrapper --lsp as the
lsp server command in your editor configuration.
$ nix-env -iA ghcide-wrapper -f https://github.com/gilligan/nix-ghcide/tarball/master
$ cachix use ghcide
I am aware that there is 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. It
makes liberal use of jailbreaking to compile ghcide with what's in haskellPackages.