tolysz / ghcjs-stack

align ghcjs with stack
Other
11 stars 2 forks source link

Is it possible to get GHCJS commit from ghcjs-stack version? #6

Open qrilka opened 8 years ago

qrilka commented 8 years ago

I'm trying to make our GHCJS project buildable with GHC but for that I need to reference ghcjs-prim bundled with GHCJS. We use ghcjs-0.2.1.9007003_ghc-8.0.1. And I see even a patch to that lib - https://github.com/tolysz/ghcjs-stack/blob/master/patches/ghc-prim-0.4.0.0.patch What's the best way to determine GHCJS commit according to version hosted on http://tolysz.org/ghcjs ?

tolysz commented 8 years ago

This repo is only for building lts6: visit the newer one at: https://github.com/tolysz/prepare-ghcjs for all newer auto-builds All docs how to use ghcjs including latest version I have tested see https://docs.haskellstack.org/en/stable/ghcjs/

qrilka commented 8 years ago

should I file the same issue there? the docs don't list git commits used to build ghcjs versions unfortunately

tolysz commented 8 years ago

For lts7+ I use the original stuff from ghcjs

tolysz commented 8 years ago

I use snapshots from: http://ghcjs.luite.com/ and if there will be commit, or something I can use it. But AFAIK, this is build from @luite private ghcjs repo.

qrilka commented 8 years ago

So the only way is to check ghc-8.0 branch (if it still exists) and choose a commit for particular day? In any case it appears that ghcjs-prim isn't buildable with GHC so at least for some time I'll just go ahead with a fork.