Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.33 KB

README.md

File metadata and controls

49 lines (28 loc) · 1.33 KB

Cachix Build Status

Purpose

The purpose of this repository is to provide HIE for each major GHC version installable via Nix.

Hie built with specific GHC needs to match the major version of GHC used on development project.

Install

For linux, make sure to enable cachix:

$ cachix use hie-nix

To install hie-8.0, hie-8.2 and hie-8.4:

$ nix-env -iA hies -f https://github.com/domenkozar/hie-nix/tarball/master
$ hie-8.0 --help
$ hie-8.2 --help
$ hie-8.4 --help

Or for just a specific GHC and get hie:

$ nix-env -iA hie84 -f https://github.com/domenkozar/hie-nix/tarball/master
$ hie --help

Updating HIE

# edit commit in update.sh
$ ./update.sh

FAQ

How do I make editor integrate the right hie version?

To follow discussion how correct version of hie is picked per project, read haskell/haskell-ide-engine#439 (comment)

Does hie-nix work with Stack?

Yes, but make sure you have Nix enabled in either stack.yaml in your project or globally:

$ cat ~/.stack/config.yaml
nix: 
  enable: true