Skip to content

Commit

Permalink
Add temporary fix for Haskell free + iOS issue
Browse files Browse the repository at this point in the history
Discussion here: ekmett/free#176

We need to disable optimizations for things to build.
  • Loading branch information
matthewbauer committed Jun 15, 2018
1 parent 5a6d0e2 commit 2561c83
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions haskell-overlays/ios.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ self: super: {
cabal-doctest = null;
syb = haskellLib.overrideCabal super.syb (drv: { jailbreak = true; });

# HACK(matthewbauer):
# Temporary fix for https://github.com/ekmett/free/issues/176
# Optimizations are broken on iOS for some modules.
free = haskellLib.appendConfigureFlag super.free "--enable-optimization=0";
jsaddle = haskellLib.appendConfigureFlag super.jsaddle "--enable-optimization=0";

reflex-todomvc = haskellLib.overrideCabal super.reflex-todomvc (drv: {
postFixup = ''
mkdir $out/reflex-todomvc.app
Expand Down

0 comments on commit 2561c83

Please sign in to comment.