Skip to content
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

Bump cabal-version? #4

Open
asayers opened this issue Feb 6, 2015 · 2 comments
Open

Bump cabal-version? #4

asayers opened this issue Feb 6, 2015 · 2 comments

Comments

@asayers
Copy link

asayers commented Feb 6, 2015

Hi @luite,

If ghcjs-prim requires Cabal >=1.22 to build, is there a reason the cabal file specifies cabal-version: >=1.10? I was having an issue installing GHCJS, and bumping this number to 1.22 solved it.


For completeness, the issue was that even though Cabal-1.22 was installed, cabal-install was trying to use Cabal-1.18 for some reason:

Configuring ghcjs-prim-0.1.0.0...
Building ghcjs-prim-0.1.0.0...
setup-Simple-Cabal-1.18.1.5-x86_64-linux-ghc-7.8.4: dist/package.conf.inplace:
inappropriate type
@andrey013
Copy link

I bumped into this issue too.
cabal-version: >=1.22 in ghcjs-prim.cabal helps.

@luite
Copy link
Member

luite commented Mar 26, 2015

When building ghcjs-prim with GHC, cabal 1.22 isn't actually required. There were some issues with earlier releases of Cabal 1.22 that might have caused this ('inappropriate type' is likely some problem where cabal expects a directory but gets a file (or vice versa))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants