haskellPackages.quickcheck-state-machine: Fix build failure in tests

This commit is contained in:
Rodney Lorrimar
2024-08-18 16:33:24 +08:00
parent b1379365c0
commit cd3a7f51ad
2 changed files with 10 additions and 1 deletions
@@ -3091,4 +3091,14 @@ self: super: {
safe-coloured-text-terminfo = unmarkBroken self.safe-coloured-text-terminfo_0_3_0_0;
})));
quickcheck-state-machine = overrideCabal (drv: {
# 2024-08-18: Remove a test which fails to build due to API changes.
# This is fixed in quickcheck-state-machine-0.10.0.
postPatch = assert drv.version == "0.8.0"; ''
sed -i '/SQLite/d' quickcheck-state-machine.cabal
sed -i -e '/import.*SQLite/d' -e 's/\[.*prop_parallel_sqlite/[/' test/Spec.hs
${drv.postPatch or ""}
'';
}) super.quickcheck-state-machine;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
@@ -4873,7 +4873,6 @@ broken-packages:
- quickcheck-property-monad # failure in job https://hydra.nixos.org/build/233228775 at 2023-09-02
- quickcheck-rematch # failure in job https://hydra.nixos.org/build/233205449 at 2023-09-02
- quickcheck-report # failure in job https://hydra.nixos.org/build/233214523 at 2023-09-02
- quickcheck-state-machine # failure in job https://hydra.nixos.org/build/252730381 at 2024-03-16
- QuickCheckVariant # failure in job https://hydra.nixos.org/build/233239276 at 2023-09-02
- quickcheck-webdriver # failure in job https://hydra.nixos.org/build/233228000 at 2023-09-02
- quickjs-hs # failure in job https://hydra.nixos.org/build/233248440 at 2023-09-02