haskellPackages.{hz3,z3}: add compile flags for newer Z3 versions

This commit is contained in:
Morgan Jones
2025-01-11 17:48:51 -08:00
parent 9d557ee2d4
commit 3af07aa4d3
@@ -1196,6 +1196,21 @@ self: super: {
'';
}) super.cryptol;
# Z3 removed aliases for boolean types in 4.12
inherit (
let
fixZ3 = appendConfigureFlags [
"--hsc2hs-option=-DZ3_Bool=bool"
"--hsc2hs-option=-DZ3_TRUE=true"
"--hsc2hs-option=-DZ3_FALSE=false"
];
in
{
z3 = fixZ3 super.z3;
hz3 = fixZ3 super.hz3;
}
) z3 hz3;
# Tests try to invoke external process and process == 1.4
grakn = dontCheck (doJailbreak super.grakn);