hi, am i correct in assuming that packages with a 'Custom' build type (and corresponding Setup.hs) will not build with the current ghc-ios cross compilation setup? i am trying to port an existing application and one of the dependencies is 'syb', which fails to install. any known workarounds? thanks, <sk>
Hi Stefan,
Yes, I hit that one too! I actually have a small list of package
workarounds I will publish; happily I haven't found anything I couldn't get
compiling eventually : ).
The simple workaround here is to
cabal unpack syb
cd syb-0.3.7
change the build type from Custom to Simple, then
cabal install
(if I remember correctly the Custom build was for unit testing purposes so
this isn't too bad)
Cheers
Luke
On Tue, Dec 18, 2012 at 8:52 AM, Stefan Kersten
hi,
am i correct in assuming that packages with a 'Custom' build type (and corresponding Setup.hs) will not build with the current ghc-ios cross compilation setup? i am trying to port an existing application and one of the dependencies is 'syb', which fails to install. any known workarounds?
thanks, <sk>
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
hi luke, On Dec 18, 2012, at 11:46 PM, Luke Iannini wrote:
Yes, I hit that one too! I actually have a small list of package workarounds I will publish; happily I haven't found anything I couldn't get compiling eventually : ).
that's encouraging! the good thing is that cabal-dev (and its add-source command) is working transparently with ghc-ios, very nice.
The simple workaround here is to cabal unpack syb cd syb-0.3.7
change the build type from Custom to Simple, then cabal install
(if I remember correctly the Custom build was for unit testing purposes so this isn't too bad)
ok, thanks. the same goes for lifted-based (only uses Setup.lhs for controlling haddock). <sk>
hi luke, On Dec 18, 2012, at 11:46 PM, Luke Iannini wrote:
Yes, I hit that one too! I actually have a small list of package workarounds I will publish; happily I haven't found anything I couldn't get compiling eventually : ).
fwiw i've started a simple collection of scripts and patches [1] that allows compiling with cabal-dev, patching packages if necessary and possible. might be useful for some ... <sk> [1] https://github.com/kaoskorobase/ghc-ios-cabal-scripts
participants (2)
-
Luke Iannini -
Stefan Kersten