haskellPackages.aeson_2_1_2_1: apply patch for QC-2.14.3

This commit is contained in:
sternenseemann 2023-06-09 12:06:58 +02:00
parent b0baed0494
commit 68b6b4b7f1

View file

@ -176,13 +176,23 @@ self: super: {
}) super.math-functions; }) super.math-functions;
# Deal with infinite and NaN values generated by QuickCheck-2.14.3 # Deal with infinite and NaN values generated by QuickCheck-2.14.3
aeson = appendPatches [ inherit (
(pkgs.fetchpatch { let
name = "aeson-quickcheck-2.14.3-double-workaround.patch"; aesonQuickCheckPatch = appendPatches [
url = "https://github.com/haskell/aeson/commit/58766a1916b4980792763bab74f0c86e2a7ebf20.patch"; (pkgs.fetchpatch {
sha256 = "1jk2xyi9g6dfjsi6hvpvkpmag3ivimipwy1izpbidf3wvc9cixs3"; name = "aeson-quickcheck-2.14.3-double-workaround.patch";
}) url = "https://github.com/haskell/aeson/commit/58766a1916b4980792763bab74f0c86e2a7ebf20.patch";
] super.aeson; sha256 = "1jk2xyi9g6dfjsi6hvpvkpmag3ivimipwy1izpbidf3wvc9cixs3";
})
];
in
{
aeson = aesonQuickCheckPatch super.aeson;
aeson_2_1_2_1 = aesonQuickCheckPatch super.aeson_2_1_2_1;
}
) aeson
aeson_2_1_2_1
;
# There are numerical tests on random data, that may fail occasionally # There are numerical tests on random data, that may fail occasionally
lapack = dontCheck super.lapack; lapack = dontCheck super.lapack;