haskellPackages.bsb-http-chunked: skip tests on 32 bit platforms

The test case that's failing compares output against blaze-builder which
behaves differently due to an apparent bug. I (sternenseemann) will
investigate that further, but luckily this is irrelevant for pandoc.

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
This commit is contained in:
K900
2025-05-01 14:56:46 +02:00
committed by sternenseemann
co-authored by sternenseemann
parent 423ea6a07c
commit fa47db8190
@@ -3003,6 +3003,18 @@ self: super:
url = "https://github.com/sjakobi/bsb-http-chunked/commit/689bf9ce12b8301d0e13a68e4a515c2779b62947.patch";
sha256 = "sha256-ZdCXMhni+RGisRODiElObW5c4hKy2giWQmWnatqeRJo=";
}))
# blaze-builder's code is missing the following fix, causing it to produce
# incorrect chunking on 32 bit platforms:
# https://github.com/sjakobi/bsb-http-chunked/commit/dde7c9fa33bb6e55b44c5f3e3024215475f64d4c
(overrideCabal (drv: {
testFlags =
drv.testFlags or [ ]
++ lib.optionals pkgs.stdenv.hostPlatform.is32bit [
"-p"
"!/Identical output as Blaze/"
];
}))
];
# jailbreak to allow deepseq >= 1.5, https://github.com/jumper149/blucontrol/issues/3