ekmett/gl

Doesn't build using GHC for iOS

dpwright opened this issue · 1 comments

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.

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.