Commit ee06439c authored by sempiternal-aurora's avatar sempiternal-aurora
Browse files

z3: version macos compat patches

patches fix a bug only present in the latest versions of z3
fixes the vampire build, which requires an older version of z3
parent 1c1bf1b8
Loading
Loading
Loading
Loading
+25 −22
Original line number Diff line number Diff line
@@ -38,8 +38,11 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-eyF3ELv81xEgh9Km0Ehwos87e4VJ82cfsp53RCAtuTo=";
  };

  patches = lib.optionals useCmakeBuild [
  patches =
    lib.optionals useCmakeBuild [
      ./fix-pkg-config-paths.patch
    ]
    ++ lib.optionals (lib.versionAtLeast finalAttrs.version "4.15.4") [
      # fix Segmentation fault. See https://github.com/Z3Prover/z3/pull/8264 and
      # https://github.com/NixOS/nixpkgs/issues/486491
      (fetchpatch2 {