Skip to content

Commit 8ccbc65

Browse files
committed
🤦
1 parent b953554 commit 8ccbc65

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

overlays/patches/iserv-proxy-interpreter-9.3-android.patch

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,13 @@ diff --git a/iserv-proxy.cabal b/iserv-proxy.cabal
327327
index a0eeaeb..a146108 100644
328328
--- a/iserv-proxy.cabal
329329
+++ b/iserv-proxy.cabal
330-
@@ -101,6 +101,7 @@ Executable iserv-proxy
330+
@@ -103,6 +103,7 @@ Executable iserv-proxy
331331
Executable iserv-proxy-interpreter
332332
Default-Language: Haskell2010
333333
Main-Is: Interpreter.hs
334+
-- We need to pass -fkeep-cafs to ensure that the interpreter retains CAFs
335+
-- Iserv and GHC do something similar.
336+
ghc-options: -fkeep-cafs
334337
+ c-sources: cbits/symbols.c
335338
Build-Depends: base >= 4 && < 5,
336339
iserv-proxy

overlays/patches/iserv-proxy-interpreter-9.3-android32.patch

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,13 @@ diff --git a/iserv-proxy.cabal b/iserv-proxy.cabal
327327
index a0eeaeb..a146108 100644
328328
--- a/iserv-proxy.cabal
329329
+++ b/iserv-proxy.cabal
330-
@@ -101,6 +101,7 @@ Executable iserv-proxy
330+
@@ -103,6 +103,7 @@ Executable iserv-proxy
331331
Executable iserv-proxy-interpreter
332332
Default-Language: Haskell2010
333333
Main-Is: Interpreter.hs
334+
-- We need to pass -fkeep-cafs to ensure that the interpreter retains CAFs
335+
-- Iserv and GHC do something similar.
336+
ghc-options: -fkeep-cafs
334337
+ c-sources: cbits/symbols.c
335338
Build-Depends: base >= 4 && < 5,
336339
iserv-proxy

0 commit comments

Comments
 (0)