fix: default LEAN_PATH for installed Lean
This commit is contained in:
parent
5c0fa84af5
commit
88fe0de284
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ if libDirExists then do
|
|||
path ← realPathNormalized libDir;
|
||||
pure $ HashMap.empty.insert "Init" path
|
||||
else do
|
||||
let installedLibDir := appDir ++ pathSep ++ ".." ++ pathSep ++ "lib" ++ pathSep ++ "lean" ++ pathSep ++ "library" ++ pathSep ++ "Init";
|
||||
let installedLibDir := appDir ++ pathSep ++ ".." ++ pathSep ++ "lib" ++ pathSep ++ "lean" ++ pathSep ++ "Init";
|
||||
installedLibDirExists ← IO.isDir installedLibDir;
|
||||
if installedLibDirExists then do
|
||||
path ← realPathNormalized installedLibDir;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue