Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghcide for nix

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.

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 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.

About

nix expressions for hie-core

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages