mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
lean4: Pin cadical version to 2.1.3 to fix bv_decide (#514456)
This commit is contained in:
commit
d5de8f4bb0
1 changed files with 11 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue