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;
# Deal with infinite and NaN values generated by QuickCheck-2.14.3
aeson = appendPatches [
(pkgs.fetchpatch {
name = "aeson-quickcheck-2.14.3-double-workaround.patch";
url = "https://github.com/haskell/aeson/commit/58766a1916b4980792763bab74f0c86e2a7ebf20.patch";
sha256 = "1jk2xyi9g6dfjsi6hvpvkpmag3ivimipwy1izpbidf3wvc9cixs3";
})
] super.aeson;
inherit (
let
aesonQuickCheckPatch = appendPatches [
(pkgs.fetchpatch {
name = "aeson-quickcheck-2.14.3-double-workaround.patch";
url = "https://github.com/haskell/aeson/commit/58766a1916b4980792763bab74f0c86e2a7ebf20.patch";
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
lapack = dontCheck super.lapack;