3
0
Fork 0
forked from mirrors/nixpkgs

haskellPackages: fix infinite recursion by disabling random's tests

random 1.2.0 has a new test suite with a lot of dependencies. Among
other packages it depends on doctest which depends on syb which depends
on tasty which depends on optparse-applicative which depends on
QuickCheck which depends on -- you guessed it -- random!

The cycle could be broken at any point of course, I've disabled the
tests on random here because it has seen the change that causes all
of this. However, we may also want to consider doing this for
optparse-applicative instead, since random seems like a more critical
package to run the tests for possibly? Not sure, looking for feedback.
This commit is contained in:
sternenseemann 2021-05-19 14:51:41 +02:00 committed by sterni
parent 0a1c857489
commit 20dd4577c7

View file

@ -803,4 +803,9 @@ self: super: builtins.intersectAttrs super {
hw-prim-bits = overrideCabal super.hw-prim-bits {
platforms = pkgs.lib.platforms.x86;
};
# random 1.2.0 has tests that indirectly depend on
# itself causing an infinite recursion at evaluation
# time
random = dontCheck super.random;
}