Skip to content

Instantly share code, notes, and snippets.

@bitc
Last active November 27, 2017 21:41
Show Gist options
  • Save bitc/b13aba861fbe04cd9d043f064e929d17 to your computer and use it in GitHub Desktop.
Save bitc/b13aba861fbe04cd9d043f064e929d17 to your computer and use it in GitHub Desktop.
Haskell Install GHC via stack
$ stack path --no-system-ghc --install-ghc --compiler ghc-8.2.2 --compiler-exe
$ $(stack path --no-system-ghc --install-ghc --compiler ghc-8.2.2 --compiler-exe) --version
$ cabal new-build --with-ghc=$(stack path --no-system-ghc --install-ghc --compiler ghc-8.2.2 --compiler-exe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment