Skip to content

Instantly share code, notes, and snippets.

@pkvk
Last active November 23, 2018 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkvk/6142fe8b4828541bfc86aee0af26303b to your computer and use it in GitHub Desktop.
Save pkvk/6142fe8b4828541bfc86aee0af26303b to your computer and use it in GitHub Desktop.

Global Clash installation with Stack

Tested on Ubuntu 18.04. NB: The following commands should not be run in a directory containing a stack.yaml file.

Install Stack from https://haskellstack.org

 $ curl -sSL https://get.haskellstack.org/ | sh

Run

 $ stack setup --resolver=lts-12.19

Install Clash

 $ stack install --resolver=lts-12.19 clash-ghc-0.99.3

Verify

 $ stack exec --resolver=lts-12.19 clashi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment