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 580ea6d commit 4e96fc6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions haskell-overlays/ios.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ 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 with the free module
free = haskellLib.appendConfigureFlag super.free "--enable-optimization=0";

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

0 comments on commit 4e96fc6

Please sign in to comment.