leanprover / leanprover/fp-lean
building the book for offline reading is broken
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 192
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
cd book && lake exe fp-lean always breaks down with something missing in ../examples/, like
✖ [144/233] Running exampleBinaries
error: no such file or directory (error code: 2)
file: <WHATEVER>/fp-lean/book/../examples/.lake/build/bin
This is on Linux, with ~/.elan/ already populated via VSCode, and working Lean in VSCode.
Further, lake exe fp-lean downloads newer versions of Lean (acurally, different ones) for the reason I don't understand. Shouldn't it be using the one installed?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running cd book && lake exe fp-lean on Linux and inspect the missing ../examples/.lake/build/bin path reported during exampleBinaries. Then trace how the book build selects Lean versions and whether it uses the existing ~/.elan/ installation. Done means the offline book build completes without missing example binaries or downloading unexpected Lean versions.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100