fpco / ghcjs-react

React bindings for GHCJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiling with stack?

isovector opened this issue · comments

Hi there,

I'm attempting to build ghcjs-react using a ghcjs stack resolver, but it's getting hung up trying to find ghcjs-jquery, which doesn't appear to exist on {h,st}ackage. The alternative method of installing also complains with:

ghcjs-dom -any, ghcjs-jquery -any, lens -any

Hoping you'd be able to help sort this out, since ghcjs-react looks really cool. Cheers!

Hi! I have a project which uses these. Here's what my stack.yaml looks like:

resolver: ghcjs-0.1.0.20150924_ghc-7.10.2
compiler-check: match-exact
packages:
  - ./deps/ghcjs-jquery
  - ./deps/ghcjs-react
# Other omitted stuff
extra-deps:
- bytestring-trie-0.2.4.1
- crypto-api-0.13.2
- data-accessor-0.2.2.6
- fingertree-0.1.1.0
- lens-4.13
- monad-logger-0.3.13.2
- pretty-show-1.6.8.2
- pureMD5-2.1.2.1
- tagged-0.8.1
- temporary-1.2.0.3
- base-orphans-0.4.4
- bifunctors-5
- blaze-builder-0.4.0.1
- cereal-0.4.1.1
- comonad-4.2.7.2
- conduit-1.2.5
- conduit-extra-1.1.9.1
- contravariant-1.3.3
- distributive-0.4.4
- entropy-0.3.7
- exceptions-0.8.0.2
- fast-logger-2.4.1
- free-4.12.1
- haskell-lexer-1.0
- kan-extensions-4.2.3
- lifted-base-0.2.3.6
- monad-control-1.0.0.4
- monad-loops-0.4.3
- profunctors-5.1.1
- reflection-2.1
- resourcet-1.1.6
- semigroupoids-5.0.0.4
- semigroups-0.17.0.1
- stm-chans-3.0.0.4
- transformers-base-0.4.4
- transformers-compat-0.4.0.4
- void-0.7.1
- StateVar-1.1.0.1
- adjunctions-4.2.2
- auto-update-0.1.2.2
- bytestring-builder-0.10.6.0.0
- mmorph-1.0.4
- nats-1
- network-2.6.2.1
- prelude-extras-0.4.0.2
- streaming-commons-0.1.14
- random-1.1
- zlib-0.6.1.1
- data-default-0.5.3
- data-default-class-0.0.1
- data-default-instances-base-0.0.1
- data-default-instances-containers-0.0.1
- data-default-instances-dlist-0.0.1
- data-default-instances-old-locale-0.0.1
- ghcjs-dom-0.1.1.3
- ghcjs-websockets-0.3.0.5
- uuid-types-1.0.2
- base64-bytestring-1.0.0.1

I got those dependencies by just adding the ones stack suggests. You probably won't need such a large list. Hopefully in the nearish future we'll have support for using stackage snapshots with GHCJS: commercialhaskell/stack#1190