chore: update toolchain

main
Henrik 2023-08-18 11:07:52 +02:00
parent 627bcb0626
commit d805539b34
3 changed files with 17 additions and 9 deletions

View File

@ -74,8 +74,8 @@ def sourceLinker (ws : Lake.Workspace) : IO (Name → Option DeclarationRange
|>.toIO (fun _ => IO.userError "Failed to load lake manifest") |>.toIO (fun _ => IO.userError "Failed to load lake manifest")
for pkg in manifest.entryArray do for pkg in manifest.entryArray do
match pkg with match pkg with
| .git _ url rev .. => gitMap := gitMap.insert pkg.name (getGithubBaseUrl url, rev) | .git _ _ _ url rev .. => gitMap := gitMap.insert pkg.name (getGithubBaseUrl url, rev)
| .path _ path => | .path _ _ _ path =>
let pkgBaseUrl := getGithubBaseUrl (← getProjectGithubUrl path) let pkgBaseUrl := getGithubBaseUrl (← getProjectGithubUrl path)
let pkgCommit ← getProjectCommit path let pkgCommit ← getProjectCommit path
gitMap := gitMap.insert pkg.name (pkgBaseUrl, pkgCommit) gitMap := gitMap.insert pkg.name (pkgBaseUrl, pkgCommit)

View File

@ -1,27 +1,35 @@
{"version": 4, {"version": 5,
"packagesDir": "lake-packages", "packagesDir": "lake-packages",
"packages": "packages":
[{"git": [{"git":
{"url": "https://github.com/xubaiw/CMark.lean", {"url": "https://github.com/xubaiw/CMark.lean",
"subDir?": null, "subDir?": null,
"rev": "0077cbbaa92abf855fc1c0413e158ffd8195ec77", "rev": "0077cbbaa92abf855fc1c0413e158ffd8195ec77",
"opts": {},
"name": "CMark", "name": "CMark",
"inputRev?": "main"}}, "inputRev?": "main",
"inherited": false}},
{"git": {"git":
{"url": "https://github.com/fgdorais/lean4-unicode-basic", {"url": "https://github.com/fgdorais/lean4-unicode-basic",
"subDir?": null, "subDir?": null,
"rev": "f09250282cea3ed8c010f430264d9e8e50d7bc32", "rev": "f09250282cea3ed8c010f430264d9e8e50d7bc32",
"name": "lean4-unicode-basic", "opts": {},
"inputRev?": "main"}}, "name": "«lean4-unicode-basic»",
"inputRev?": "main",
"inherited": false}},
{"git": {"git":
{"url": "https://github.com/mhuisi/lean4-cli", {"url": "https://github.com/mhuisi/lean4-cli",
"subDir?": null, "subDir?": null,
"rev": "5a858c32963b6b19be0d477a30a1f4b6c120be7e", "rev": "5a858c32963b6b19be0d477a30a1f4b6c120be7e",
"opts": {},
"name": "Cli", "name": "Cli",
"inputRev?": "nightly"}}, "inputRev?": "nightly",
"inherited": false}},
{"git": {"git":
{"url": "https://github.com/hargonix/LeanInk", {"url": "https://github.com/hargonix/LeanInk",
"subDir?": null, "subDir?": null,
"rev": "2447df5cc6e48eb965c3c3fba87e46d353b5e9f1", "rev": "2447df5cc6e48eb965c3c3fba87e46d353b5e9f1",
"opts": {},
"name": "leanInk", "name": "leanInk",
"inputRev?": "doc-gen"}}]} "inputRev?": "doc-gen",
"inherited": false}}]}

View File

@ -1 +1 @@
leanprover/lean4:nightly-2023-08-03 leanprover/lean4:nightly-2023-08-17