Skip to content

Commit ed30333

Browse files
committed
lean4: 4.13.0 -> 4.14.0
Release notes: https://github.com/leanprover/lean4/releases/tag/v4.14.0 Moved `cadical` from nativeBuildInputs to buildInputs, because it doesn't build otherwise. Enforced failure of build if the substitution in CMakeLists fails.
1 parent d3fc0b6 commit ed30333

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.13.0";
16+
version = "4.14.0";
1717

1818
src = fetchFromGitHub {
1919
owner = "leanprover";
2020
repo = "lean4";
2121
rev = "v${finalAttrs.version}";
22-
hash = "sha256-UemA3H0YxdrXQ/6uG6YFphj/6ab2jb0zbRkDZaMSXok=";
22+
hash = "sha256-xVQCbZLVSI+UiFoimw7TK1P5DQca412ss/9z3LzaxCQ=";
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)