/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 ghcide-nix

2. Install ghcide

Currently available for ghc883, ghc865 and ghc844:

On NixOS

environment.systemPackages = [
  (import (builtins.fetchTarball "https://github.com/cachix/ghcide-nix/tarball/master") {}).ghcide-ghc883
];

With Nix

$ nix-env -iA ghcide-ghc883 -f https://github.com/cachix/ghcide-nix/tarball/master

Updating

./update