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

Doesn't build using GHC for iOS #10

Open
dpwright opened this issue May 26, 2015 · 1 comment
Open

Doesn't build using GHC for iOS #10

dpwright opened this issue May 26, 2015 · 1 comment

Comments

@dpwright
Copy link

To be honest, I was sceptical of my chances anyway, but I thought I'd give it a shot. I was surprised by the error I did get, though; if I create a sandbox and then attempt to install with cabal-ios install gl it successfully compiles Setup.hs but then complains with the error:

setup: No cabal file found.
Please create a package description file <pkgname>.cabal
Failed to install gl-0.7.7

Getting the source and adding it as a sandbox source makes no difference.

Is there a way round this issue? I appreciate that there may be other issues beyond this one as I've really fallen at the first hurdle here, but I've never seen this before and I'm not entirely sure what it means.

I've set up my iOS GHC as described here: https://github.com/ghc-ios/ghc-ios-scripts. One thing to note is that the version of GHC for iOS this installs is 7.8.3 while my installed version of native GHC is the current home-brew version, 7.10.... not sure if that matters.

@ekmett
Copy link
Owner

ekmett commented Aug 12, 2015

I've never used cabal-ios, so I'm afraid I'm not going to be very much help here. I'd be happy to take patches or what not if you figure out what is going on.

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

2 participants