mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
haskellPackages.monad-bayes: disable test suite unconditionally
The exact-match SMC/RMSMC benchmark fixtures break with random >= 1.3 (which nightly ships), because the changed PRNG stream alters the sampled output. Upstream CI stays green only because it is frozen on a 2021 nixpkgs pin, so make the existing platform-conditional test skip unconditional. https://github.com/tweag/monad-bayes/issues/368 Assisted-by: Claude Code (Claude Opus 4.8)
This commit is contained in:
@@ -2947,22 +2947,11 @@ with haskellLib;
|
||||
# 2025-04-13: jailbreak to allow hedgehog >= 1.5
|
||||
hw-bits = warnAfterVersion "0.7.2.2" (doJailbreak super.hw-bits);
|
||||
|
||||
monad-bayes =
|
||||
# Floating point precision issues. Test suite is only checked on x86_64.
|
||||
# https://github.com/tweag/monad-bayes/issues/368
|
||||
dontCheckIf
|
||||
(
|
||||
let
|
||||
inherit (pkgs.stdenv) hostPlatform;
|
||||
in
|
||||
!hostPlatform.isx86_64
|
||||
# Presumably because we emulate x86_64-darwin via Rosetta, x86_64-darwin
|
||||
# also fails on Hydra
|
||||
|| hostPlatform.isDarwin
|
||||
)
|
||||
# Too strict bounds on brick (<2.6), vty (<6.3)
|
||||
# https://github.com/tweag/monad-bayes/issues/378
|
||||
(doJailbreak super.monad-bayes);
|
||||
# Test suite is brittle, dependent on the random number generator
|
||||
# implementation and architecture. See:
|
||||
# * https://github.com/tweag/monad-bayes/pull/389
|
||||
# * https://github.com/tweag/monad-bayes/issues/368
|
||||
monad-bayes = dontCheck (doJailbreak super.monad-bayes);
|
||||
|
||||
# 2025-04-13: jailbreak to allow th-abstraction >= 0.7
|
||||
crucible = doJailbreak super.crucible;
|
||||
|
||||
Reference in New Issue
Block a user