haskellPackages.streamly-core: Fix cross-compilation (#473393)

This commit is contained in:
Wolfgang Walther
2025-12-26 17:55:10 +00:00
committed by GitHub
@@ -322,6 +322,15 @@ with haskellLib;
# 2025-02-10: Too strict bounds on tasty < 1.5
tasty-hunit-compat = doJailbreak super.tasty-hunit-compat;
# Makes cross-compilation hang
# https://github.com/composewell/streamly/issues/2840
streamly-core = overrideCabal (drv: {
postPatch = ''
substituteInPlace src/Streamly/Internal/Data/Array/Stream.hs \
--replace-fail '{-# INLINE splitAtArrayListRev #-}' ""
'';
}) super.streamly-core;
# Expected failures are fixed as of GHC-9.10,
# but the tests haven't been updated yet.
# https://github.com/ocharles/weeder/issues/198