Closed ConnorBaker closed 2 years ago
We need two separate packages now, much like in the new-style lakefile.leans: https://github.com/leanprover/lake/blob/master/lakefile.lean. See commit above.
I extracted the relevant portions of the flake from Lean4's docs which generate pages using LeanInk
Nice. Porting more documentation to LeanInk is definitely something we're considering.
Nice. Porting more documentation to LeanInk is definitely something we're considering.
As a beginner, I think the interactivity LeanInk brings is incredibly enlightening! In particular, being able to view the proof state in-browser is extremely helpful. (I can't get enough of Lean's VS Code infoview panel -- I wish Haskell / Liquid Haskell had something similar.)
Thank you for all the work you're doing to make Lean better!
Description
Since https://github.com/leanprover/LeanInk/commit/1830775d2fb10485e8c4f0914cdc128aafe47af7 (part of #16), trying to use LeanInk with Nix has thrown errors similar to the following:
Expected behaviour
I would expect that this would work without issue, and I'm not sure immediately what's causing it (other than something that changed in that commit).
Reproducing the issue
I've reproduced this issue on both
aarch64-darwin
andx86_64-linux
.I extracted the relevant portions of the flake from Lean4's docs which generate pages using LeanInk and bundled it all up so I could do the same as I work through Theorem Proving in Lean 4. You can find it here: https://github.com/ConnorBaker/theorem-proving-in-lean4.
The flake uses the last-working commit for LeanInk I could find. If you remove the commit or try a newer one, you should be able to reproduce it the error I'm seeing (hopefully).
Environment information
Suggested fix
Additional Notes