haskellPackages.vector: fix test suite with QuickCheck-2.14.3

This commit is contained in:
sternenseemann 2023-06-08 13:05:43 +02:00
parent 101449eb19
commit 2c5704bf98

View file

@ -157,6 +157,16 @@ self: super: {
"vector-tests-O0"
"vector-tests-O2"
];
patches = [
# Workaround almost guaranteed floating point errors in test suite with quickcheck 2.14.3
# https://github.com/haskell/vector/issues/460
(pkgs.fetchpatch {
name = "quickcheck-2.14.3-float-workaround.patch";
url = "https://github.com/haskell/vector/commit/df8dd8e8e84005aa6b187b03cd502f3c6e18cf3c.patch";
sha256 = "040wg8mqlkdnrl5axy9wk0mlpn8rpc4vc4afpxignj9i7yc4pfjj";
stripLen = 1;
})
];
}) super.vector;
# There are numerical tests on random data, that may fail occasionally