/ghcide-nix

Nix installation for ghcide

Primary LanguageNix

Getting started

1. Use Cachix to avoid compilation (optional if you like compiling for 2h)

$ nix-env -iA cachix -f https://cachix.org/api/v1/install
$ cachix use hercules-ci

2. Install ghcide

Currently available for ghc865, ghc864 and ghc844:

On NixOS

environment.systemPackages = [
  (import (builtins.fetchTarball "https://github.com/hercules-ci/ghcide-nix/tarball/master")).ghcide-ghc865
];

With Nix

$ nix-env -iA ghcide-ghc865 -f https://github.com/hercules-ci/ghcide-nix/tarball/master

FAQ

Why does this repo sit in hercules-ci organization?

It was the easiest to setup, it will hopefully merge with hie-core