lean4: Pin cadical version to 2.1.3 to fix bv_decide (#514456)

This commit is contained in:
lassulus 2026-05-17 10:07:55 +00:00 committed by GitHub
commit d5de8f4bb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,7 @@
git,
gmp,
cadical,
makeWrapper,
pkg-config,
libuv,
enableMimalloc ? true,
@ -13,6 +14,9 @@
testers,
}:
let
cadical' = cadical.override { version = "2.1.3"; };
in
stdenv.mkDerivation (finalAttrs: {
pname = "lean4";
version = "4.29.1";
@ -61,14 +65,20 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
cmake
pkg-config
makeWrapper
];
buildInputs = [
gmp
libuv
cadical
cadical'
];
postInstall = ''
wrapProgram $out/bin/lean \
--prefix PATH : ${cadical'}/bin
'';
nativeCheckInputs = [
git
perl