-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
haste-cabal.bin: There is no installed version of ghc-prim #348
Comments
The installed constraint is violated by necessity; bootstrapping the compiler requires building ghc-prim from scratch, so there's not much to do about that part I'm afraid. You can use the pre-built binary packages to avoid having to bootstrap Haste yourself. It seems that haste-cabal is for some reason trying to strip the very much unstrippable jslib file Haste produces, and using the wrong file name to boot! This shouldn't happen, but something in your config might set some cabal option which haste-cabal doesn't handle properly. Could you try running haste-boot with the --verbose flag and post the output here? |
My Here's the output of
|
I'm following these instructions (edit: found here -> http://haste-lang.org/downloads/):
I am using ghc-7.10.2, cabal-install version 1.22.6.0 , Cabal version 1.22.4.0, and my .cabal/config file contains constraints from http://www.stackage.org/snapshot/lts-3.12, including:
This results in the error message in the title. Removing the constraint from the .cabal/config file, and running
haste-boot
again, result in:The text was updated successfully, but these errors were encountered: