You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This, in the output of elan-init, says that it's installing v4.9.1/lean-4.9.0-linux_aarch64.tar.zst. It appears to work, and we can source ~/.profile and use lake.
# source ~/.profile
# cd /tmp
# lake new example
error: could not detect the configuration of the Lake installation
But this results in an error. From some browsing around, it appeared that setting LAKE_HOME would fix the problem even though elan is documented to handle this sort of thing for the user. Anyway, setting an appropriate value of LAKE_HOME works for creating a new LEAN4 codebase.
# LAKE_HOME="$HOME/.elan/toolchains/stable" lake new example
# cd /tmp/example
Then we get another error if we try to run lake build:
Using Alpine Linux we can run
elan-init
version3.1.1
to give us a stable LEAN4 toolchain:This, in the output of
elan-init
, says that it's installingv4.9.1/lean-4.9.0-linux_aarch64.tar.zst
. It appears to work, and we can source~/.profile
and uselake
.But this results in an error. From some browsing around, it appeared that setting
LAKE_HOME
would fix the problem even thoughelan
is documented to handle this sort of thing for the user. Anyway, setting an appropriate value ofLAKE_HOME
works for creating a new LEAN4 codebase.Then we get another error if we try to run
lake build
:Again from more reading it appeared that setting
LEAN_SYSROOT
would fix it, but it just changes the error:Logically, from the output, it seems that
LEAN_PATH
also has to be set, but its value is simply ignored:At this point it was unclear how to proceed any further, hence this issue.
The text was updated successfully, but these errors were encountered: