From 29288c8f16143b4b47cacdee87b34771d2650e19 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Tue, 31 Dec 2024 12:00:00 +0000 Subject: [PATCH] bitwuzla: actually build with cryptominisat support can be tested with bitwuzla -S cms -j 3 file.smt2 --- pkgs/by-name/bi/bitwuzla/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/bi/bitwuzla/package.nix b/pkgs/by-name/bi/bitwuzla/package.nix index 4c3a3b718727..2faf3a948406 100644 --- a/pkgs/by-name/bi/bitwuzla/package.nix +++ b/pkgs/by-name/bi/bitwuzla/package.nix @@ -14,6 +14,7 @@ cryptominisat, zlib, pkg-config, + cmake, }: stdenv.mkDerivation (finalAttrs: { @@ -34,6 +35,7 @@ stdenv.mkDerivation (finalAttrs: { pkg-config git ninja + cmake ]; buildInputs = [ cadical @@ -48,6 +50,7 @@ stdenv.mkDerivation (finalAttrs: { # note: the default value for default_library fails to link dynamic dependencies # but setting it to shared works even in pkgsStatic "-Ddefault_library=shared" + "-Dcryptominisat=true" (lib.strings.mesonEnable "testing" finalAttrs.finalPackage.doCheck) ];