I have GHC installed via the stack (so stack ghc -- --version shows GHC-7.10.3)
$ stack install ghcjs Run from outside a project, using implicit global project config Using resolver: lts-5.2 from implicit global project config file: /home/john/.stack/global-project/stack.yaml The following target packages were not found: ghcjs
Some resources offer ghcjs somewhat experimentally (albeit in subsequent steps).
Looking at http://docs.haskellstack.org/en/stable/ghcjs/ I was thinking maybe I could find stack.yaml and change it.
To use GHCJS with a stack> = 0.1.8, put the version of GHCJS in the compiler field stack.yaml ... then stack setup
$ cat ~/.stack/global-project/stack.yaml
We are told to look at config.yaml , which looks equally empty. Is it even right, am I going to a dead end?
$ cat ~/.stack/config.yaml
I just want to install ghcjs with a stack.
source share