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-boot 0.5.3 (cabal version) does not work with ghc 7.10.3. (seems like) #361

Open Magicloud opened 8 years ago

Magicloud commented 8 years ago
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.10.3
$ hastec --version
0.5.3
$ ghc-pkg list
/usr/local/lib/ghc-7.10.3/package.conf.d
   Cabal-1.22.5.0
   array-0.5.1.0
   base-4.8.2.0
   bin-package-db-0.0.0.0
   binary-0.7.5.0
   bytestring-0.10.6.0
   containers-0.5.6.2
   deepseq-1.4.1.1
   directory-1.2.2.0
   filepath-1.4.0.0
   ghc-7.10.3
   ghc-prim-0.4.0.0
   haskeline-0.7.2.1
   hoopl-3.10.0.2
   hpc-0.6.0.2
   integer-gmp-1.0.0.0
   pretty-1.1.2.0
   process-1.2.3.0
   rts-1.0
   template-haskell-2.10.0.0
   terminfo-0.4.0.1
   time-1.5.0.1
   transformers-0.4.2.0
   unix-2.7.1.0
   xhtml-3000.2.1
$ haste-boot
...
Registering integer-gmp-0.5.0.0...
Installed integer-gmp-0.5.0.0
cleaning...
Warning: Topdown solver is deprecated
Resolving dependencies...
haste-cabal.bin: cannot configure integer-gmp-0.5.1.0. It requires ghc-prim
>=0.3.1 && <0.4
For the dependency on ghc-prim >=0.3.1 && <0.4 there are these packages:
ghc-prim-0.3.1.0. However none of them are available.
ghc-prim-0.3.1.0 was excluded because ghc-prim-0.4.0.0 was selected instead
ghc-prim-0.3.1.0 was excluded because base-4.8.0.0 requires ghc-prim ==0.4.*

Command '$HOME/.cabal/bin/haste-cabal' failed with error  code 1
Magicloud commented 8 years ago

github version could not work, either.