Jump to content

Lean 4: Difference between revisions

From Official NixOS Wiki
Jthulhu (talk | contribs)
Added basic Lean4 page.
 
Jthulhu (talk | contribs)
m Jthulhu moved page Lean4 to Lean 4: Misspelled title
(No difference)

Revision as of 08:15, 25 July 2026

Building Lean 4 projects

Use the following

leanPackages.buildLakePackage {
  pname = "my-project";
  version = "0.1.0";
  src = ./.;
  leanDeps = with leanPackages; [ mathlib ];
  lakeHash = null; # all deps nix-managed; set to lib.fakeHash for Lake-managed deps
}