Closed byrongibson closed 1 year ago
Hi,
As far as I can tell, nixpkgs currently has support for lean3 as both lean and lean3. Am I mistaken?
lean3 seems to be is in nixpkgs now. Lean4 has an experimental flake setup in their repo&docs https://leanprover.github.io/lean4/doc/setup.html#nix-setup don't know if it'd be better to package in or leave as is for now
addressed by https://github.com/NixOS/nixpkgs/pull/235517
Project description
Lean is a functional programming language and interactive theorem prover. Currently Nixpkgs provides the older versions, Lean and Lean2 (broken in 21.11). It appears the maintainer requires Python2, and Lean 3 and 4 are Python 3.
The current stable version is Lean3, but it is EoL'd. All development has moved to Lean4, but it does not have stable release yet and is not backwards compatible with prior versions.
It might be nice to have both Lean3 and Lean4 added to nixpkgs, for more up-to-date experimentation and usage. Fwiw, it appears Lean4 is being developed on NixOS, given the default.nix, flake.nix, and shell.nix files in its repo.
Metadata