Skip to content

Commit 0f3acc5

Browse files
Update lean 4.15 (#373564)
2 parents 33d4a16 + 49b8bad commit 0f3acc5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkgs/by-name/le/lean4/package.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@
1313

1414
stdenv.mkDerivation (finalAttrs: {
1515
pname = "lean4";
16-
version = "4.12.0";
16+
version = "4.15.0";
1717

1818
src = fetchFromGitHub {
1919
owner = "leanprover";
2020
repo = "lean4";
2121
rev = "v${finalAttrs.version}";
22-
hash = "sha256-O2Egyh2D0TfQWzQKfHUeAh7qAjMfeLVwXwGUw5QqcvE=";
22+
hash = "sha256-Xzuk41voBP93vsl3u/bBii9Y6DMfvi6UazKiLLABgHA=";
2323
};
2424

2525
postPatch = ''
2626
substituteInPlace src/CMakeLists.txt \
27-
--replace 'set(GIT_SHA1 "")' 'set(GIT_SHA1 "${finalAttrs.src.rev}")'
27+
--replace-fail 'set(GIT_SHA1 "")' 'set(GIT_SHA1 "${finalAttrs.src.rev}")'
2828
2929
# Remove tests that fails in sandbox.
3030
# It expects `sourceRoot` to be a git repository.
@@ -37,12 +37,12 @@ stdenv.mkDerivation (finalAttrs: {
3737

3838
nativeBuildInputs = [
3939
cmake
40-
cadical
4140
];
4241

4342
buildInputs = [
4443
gmp
4544
libuv
45+
cadical
4646
];
4747

4848
nativeCheckInputs = [

0 commit comments

Comments
 (0)