Skip to content

Instantly share code, notes, and snippets.

@Matts966
Last active February 3, 2020 03:04
Show Gist options
  • Select an option

  • Save Matts966/b243f102d7caa95d91d9e21b0ff628e4 to your computer and use it in GitHub Desktop.

Select an option

Save Matts966/b243f102d7caa95d91d9e21b0ff628e4 to your computer and use it in GitHub Desktop.
Install hie for ghc-8.0.2.
resolver: lts-9.12
packages:
- .
- hie-plugin-api
extra-deps:
- apply-refact-0.3.0.1
- brittany-0.11.0.0
- butcher-1.3.1.1
- constrained-dynamic-0.1.0.0
- czipwith-1.0.1.0
- data-tree-print-0.1.0.1
- deque-0.2
- ghc-exactprint-0.5.6.1
- haskell-lsp-0.2.1.0
- haskell-lsp-types-0.2.1.0
- hlint-2.0.11
- monad-memo-0.4.1
- sorted-list-0.2.1.0
- syz-0.2.0.0
- submodules/HaRe
- submodules/ghc-mod
- submodules/ghc-mod/core
- submodules/cabal-helper
extra-include-dirs:
- /usr/local/opt/icu4c/include
extra-lib-dirs:
- /usr/local/opt/icu4c/lib
flags:
haskell-ide-engine:
pedantic: false
hie-plugin-api:
pedantic: false
nix:
packages: [ icu libcxx zlib ]
@Matts966
Copy link
Author

Matts966 commented Feb 3, 2020

To install haskell ide engine ghc-8.0.2,

git clone https://github.com/haskell/haskell-ide-engine --recursive
cd haskell-ide-engine
git checkout 'hie-0.1.0.0'
git submodule update --init
brew install icu4c && brew link icu4c # install icu for text-icu package
# update the stack-8.0.2.yaml by the file above.
stack --stack-yaml stack-8.0.2.yaml install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment