valderman / haste-compiler

A GHC-based Haskell to JavaScript compiler
http://haste-lang.org
BSD 3-Clause "New" or "Revised" License
1.45k stars 109 forks source link

Haste with Stack #427

Closed IfSixWasNine closed 3 years ago

IfSixWasNine commented 5 years ago

Is there a way to use the haste-compiler with stack instead of having to write a Makefile?

I selected lts 9.21 for the resolver (in the case of haste-compiler version 0.6.0.0 which seemed to use ghc 8.02) and tried to create symlinks for haste-pkg, hastec etc. in the local .stack directory in order to make stack believe that the haste-compiler is a GHC for being able to pass the stack sanity check. However, I could not make to create a suitable symlink for haste-cabal.

Can somebody please tell me how to use stack and hastec for compiling Haskell sources to JavaScript?

IfSixWasNine commented 3 years ago

Haste maintenance/follow-seems abanfonned