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
Continue by following upstream instructions
3.FAQ
Why does this repo sit in hercules-ci organization?
It was the easiest to setup, it will hopefully merge with ghcide
How to update?
nix-shell
niv update ghcide -b TAG
or for unreleased:
niv update ghcide -b master