From a74b6c323b37586fbc97b87e323125407cc2204f Mon Sep 17 00:00:00 2001 From: mingmingrr <12855406+mingmingrr@users.noreply.github.com> Date: Sun, 1 Jun 2025 11:21:59 -0400 Subject: [PATCH] cvc5: enable libpoly and drop antlr libpoly needed to run with --nl-conv antlr parser support was dropped in 1.0.6 --- pkgs/applications/science/logic/cvc5/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/science/logic/cvc5/default.nix b/pkgs/applications/science/logic/cvc5/default.nix index fe0c0172a88b..3fc2336f1885 100644 --- a/pkgs/applications/science/logic/cvc5/default.nix +++ b/pkgs/applications/science/logic/cvc5/default.nix @@ -10,10 +10,9 @@ gmp, python3, gtest, - libantlr3c, - antlr3_4, boost, jdk, + libpoly, }: stdenv.mkDerivation rec { @@ -37,10 +36,9 @@ stdenv.mkDerivation rec { symfpu gmp gtest - libantlr3c - antlr3_4 boost jdk + libpoly (python3.withPackages ( ps: with ps; [ pyparsing @@ -57,7 +55,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DBUILD_SHARED_LIBS=1" - "-DANTLR3_JAR=${antlr3_4}/lib/antlr/antlr-3.4-complete.jar" + "-DUSE_POLY=ON" ]; doCheck = true;