Commit Graph

30 Commits

Author SHA1 Message Date
Nadja Yang
03752ca7ca lean4, leanPackages.lean4: fix darwin build by adding libtool
Lake 4.30.0 uses libtool -static on macOS for static library targets
instead of ar.
d024af099c/src/lake/Lake/Build/Library.lean (L87-L95)

See Hydra Build No. 330752454, lean4.aarch64-darwin (June 4, 2026),
https://hydra.nixos.org/build/330752454; Hydra Build No. 330752481,
leanPackages.lean4.aarch64-darwin (June 4, 2026),
https://hydra.nixos.org/build/330752481.

Breakage introduced in
a26b66330f
2026-06-04 23:56:27 -04:00
Niklas Halonen
a26b66330f lean4: update leanPackages and lean4 4.29.0/1 -> 4.30.0
As reported on FreeBSD forums, updating lean4 to 4.30.0 fails to a
leantar related issue.  We follow the patch mentioned on the FreeBSD
forums and depend on digama0/leangz (that comes with leantar).
However, there doesn't seem to be a reason to disable installing
leantar, so we don't set INSTALL_LEANTAR=OFF like the patch.

References:
- https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295656
- https://cgit.freebsd.org/ports/commit/?id=516f8a5764de5c7bdd0e9f7810601a5057bbc650
- https://lean-lang.org/doc/reference/latest/releases/v4.30.0/#release-v4___30___0
- leanprover/lean4#12822
2026-06-01 22:28:05 +03:00
Alexander Städing
0eced05aae lean4: Pin cadical version to 2.1.3 to fix bv_decide 2026-04-28 17:50:35 +02:00
Archit Gupta
ed10debb3c lean4: remove cadical copy
By default, lean4's cmake copies the cadical binary from PATH to its
build output directory. Disabling this behavior does not keep Lean from
using cadical.
2026-04-24 01:39:20 -07:00
jthulhu
062cd7aa95 lean4: 4.29.0 -> 4.29.1
Release notes: https://lean-lang.org/doc/reference/latest/releases/v4.29.1/
2026-04-18 12:22:21 +02:00
jthulhu
23c1607368 lean4: 4.28 -> 4.29 2026-03-28 19:13:15 +01:00
Nadja Yang
bf507d8371 lean4: add nadja-y as maintainer 2026-03-08 12:03:59 -04:00
jthulhu
065d62e322 lean4: 4.27 -> 4.28
- https://github.com/leanprover/lean4/releases/tag/v4.28.0-rc1
- https://github.com/leanprover/lean4/releases/tag/v4.28.0
2026-02-17 12:12:34 +01:00
jthulhu
7f4e851708 lean4: 4.26 -> 4.27
Release notes:
- https://github.com/leanprover/lean4/releases/tag/v4.27.0-rc1
- https://github.com/leanprover/lean4/releases/tag/v4.27.0
2026-01-24 11:11:47 +01:00
jthulhu
db9f2ed5c0 lean4: 4.25 -> 4.26
Release notes:
- https://github.com/leanprover/lean4/releases/tag/v4.26.0-rc2
- https://github.com/leanprover/lean4/releases/tag/v4.26.0-rc1
- https://github.com/leanprover/lean4/releases/tag/v4.26.0
2025-12-16 17:42:15 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Erlend Hamberg
2e500cfd73 lean4: 4.24.0 -> 4.25.0 2025-11-17 12:32:28 +01:00
Erlend Hamberg
96764e567f lean4: 4.23.0 -> 4.24.0 2025-10-25 11:20:17 +02:00
jthulhu
75a928368d lean4: 4.22 -> 4.23.0
Release notes:
- https://github.com/leanprover/lean4/releases/tag/v4.23.0-rc1
- https://github.com/leanprover/lean4/releases/tag/v4.23.0-rc2
- https://github.com/leanprover/lean4/releases/tag/v4.23.0
2025-09-15 15:39:09 +02:00
Erlend Hamberg
b9ecad413b lean4: 4.21.0 -> 4.22.0 2025-08-19 14:48:19 +02:00
jthulhu
b718830548 lean4: 4.20.0 -> 4.21.0
Release notes:
- https://github.com/leanprover/lean4/releases/tag/v4.21.0-rc1
- https://github.com/leanprover/lean4/releases/tag/v4.21.0-rc2
- https://github.com/leanprover/lean4/releases/tag/v4.21.0-rc3
- https://github.com/leanprover/lean4/releases/tag/v4.21.0
2025-06-30 15:15:39 +02:00
jthulhu
4085f84cc3 lean4: 4.19.0 -> 4.20.0
Release notes:
- https://github.com/leanprover/lean4/releases/tag/v4.20.0-rc1
- https://github.com/leanprover/lean4/releases/tag/v4.20.0-rc2
- https://github.com/leanprover/lean4/releases/tag/v4.20.0-rc3
- https://github.com/leanprover/lean4/releases/tag/v4.20.0-rc4
- https://github.com/leanprover/lean4/releases/tag/v4.20.0-rc5
- https://github.com/leanprover/lean4/releases/tag/v4.20.0
2025-06-19 08:37:41 +02:00
jthulhu
0ee203fa7b lean4: 4.18.0 -> 4.19.0
Release notes:
- https://github.com/leanprover/lean4/releases/tag/v4.19.0
- https://github.com/leanprover/lean4/releases/tag/v4.19.0-rc3
- https://github.com/leanprover/lean4/releases/tag/v4.19.0-rc2
- https://github.com/leanprover/lean4/releases/tag/v4.19.0-rc1
2025-05-08 10:39:57 +02:00
R. Ryantm
e170677ba0 lean4: 4.17.0 -> 4.18.0 2025-04-01 07:50:53 +00:00
jthulhu
e08eecb8c4 lean4: 4.16.0 -> 4.17.0
Release notes: https://github.com/leanprover/lean4/releases/tag/v4.17.0
2025-03-03 14:51:56 +01:00
jthulhu
2a1698f846 lean4: from rev to tag
Moving from rev based schema to a tag based one, to fetch the sources.
2025-02-05 22:43:00 +01:00
jthulhu
f1ffa15967 lean4: 4.15.0 -> 4.16.0
Release notes: https://github.com/leanprover/lean4/releases/tag/v4.16.0
2025-02-03 19:42:32 +01:00
jthulhu
49b8bad2d7 lean4: 4.14.0 -> 4.15.0
Release notes: https://github.com/leanprover/lean4/releases/tag/v4.15.0
2025-01-14 07:47:46 +01:00
jthulhu
ed3033393e 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.
2025-01-14 07:46:54 +01:00
jthulhu
d3fc0b6220 lean4: 4.12.0 -> 4.13.0
Release notes: https://github.com/leanprover/lean4/releases/tag/v4.13.0
2025-01-14 07:46:10 +01:00
Daniel Britten
4ba0f10e1b lean4: 4.11.0 -> 4.12.0 2024-12-20 03:53:01 +00:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Daniel Britten
1d6ac44414 lean4: 4.10.0 -> 4.11.0 (#354669)
Co-authored-by: Daniel Britten <nixpkgs@danielb.space>
2024-12-09 23:38:17 -05:00
jthulhu
dd9dc00de2 maintainers: add jthulhu 2024-11-11 08:33:54 +01:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00