Cabal scripts and package patches for building with ghc-ios.
In your source directory execute
$ path/to/ghc-ios-cabal-scripts/add-all <CABAL-DEV-OPTIONS>
This will download and patch packages and add them via add-source
. Now install your package (or configure and build) with the following options:
--hsc2hs-options=--cross-compile
$ path/to/ghc-ios-cabal-scripts/unpack <PACKAGE>
$ cd <PACKAGE-VERSION>
$ vi ...
$ git diff > patches/<PACKAGE>
$ git add patches/<PACKAGE>
$ git commit
Then send a pull request.
x builds p builds with patch ? unknown - won't build x aeson x async x attoparsec x attoparsec-conduit p bitset x bytestring x cereal x cereal-conduit x conduit x data-lens x directory x explicit-exception x failure x filepath x hashable - hmatrix (custom Setup.hs) x hosc x hsc3 - hsc3-lang (hmatrix) x hsc3-process x hsc3-server p lifted-base p ListZipper x network x network-conduit p primitive x process - QuickCheck (TemplateHaskell) x reactive-banana x resourcet x split x system-fileio x system-filepath x text x transformers x unix x unordered-containers x url p vector p zlib