Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Lode/Lsp.lean
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ private def worker (project : FilePath) (abort : IO.Ref Bool) (timeoutMs : Nat)
let _ ← child.wait
-- Killing the group closes both pipes and joins the bounded reader task.
let _ ← IO.wait task
-- Keep the client's write end alive until the exchange is over. Otherwise
-- its last use is the final send and Lean's server shuts down on stdin EOF.
try stdin.flush catch _ => pure ()

/-- Called only from the authorized Tools dispatcher. No session Env additions.
Filesystem/OS errors are deliberately not reflected as raw host paths. -/
Expand Down
2 changes: 1 addition & 1 deletion Lode/Workspace.lean
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def linenRev? (manifest : String) : Option String := do
let linen ← m.packages.find? (·.name == `linen)
match linen.src with
| .git _ rev _ _ => if Validate.commit rev then some rev else none
| .path _ => none
| .path .. => none

/-- Seed the project's linen from the package cache (`{cache}/linen/{rev}`,
a built linen checkout, as lun's image carries one), when the manifest
Expand Down
6 changes: 3 additions & 3 deletions lake-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{"version": "1.2.0",
{"version": "1.3.0",
"packagesDir": ".lake/packages",
"packages":
[{"url": "https://github.com/typednotes/lun",
Expand All @@ -25,10 +25,10 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "6152308bef3b31598018f966ede38d21fd20a96b",
"rev": "fde31559683b7f6c04f877b4031ee782307b337a",
"name": "linen",
"manifestFile": "lake-manifest.json",
"inputRev": "v1.12.0",
"inputRev": "fde31559683b7f6c04f877b4031ee782307b337a",
"inherited": false,
"configFile": "lakefile.lean"}],
"name": "lode",
Expand Down
2 changes: 1 addition & 1 deletion lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ open System Lake DSL
-- SHA-256) but none of its pkg-config libraries (no Postgres), so, like
-- `lun`, it needs no extra link arguments.

require linen from git "https://github.com/typednotes/linen" @ "v1.12.0"
require linen from git "https://github.com/typednotes/linen" @ "fde31559683b7f6c04f877b4031ee782307b337a"

-- For `Liaison.Wire` only: liaison's wire format (`POST /v0/egress`), the
-- module liaison's own server parses with. It is pure and imports none of
Expand Down
2 changes: 1 addition & 1 deletion lean-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
leanprover/lean4:v4.34.0
leanprover/lean4:v4.36.0