To set up your new GitHub repository, follow these steps:
- Under your repository name, click Settings.
- In the Actions section of the sidebar, click "General".
- Check the box Allow GitHub Actions to create and approve pull requests.
- Click the Pages section of the settings sidebar.
- In the Source dropdown menu, select "GitHub Actions".
After following the steps above, you can remove this section from the README file.
-
Enter the dev shell with
nix develop. The shell useselanto provide the Lean toolchain specified inlean-toolchain(currentlyleanprover/lean4:v4.24.0). The flake does not pin a Lean version via nix overlays to avoid version skew. -
First time in the shell,
elanwill install the requested toolchain. Then:- Check the compiler:
lean --versionshould report4.24.0. - Build the project:
lake build.
- Check the compiler:
If you prefer not to use the dev shell, you can install elan separately and run
elan toolchain install $(cat lean-toolchain) to provision Lean + Lake, then lake build.