Skip to content

Commit b4470de

Browse files
committed
chore: adaptations for nightly-2025-12-10
2 parents 34527c1 + 25918fa commit b4470de

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Mathlib/Tactic/Linter/TextBased.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def nonbreakingSpaceLinter : TextbasedLinter := fun opts lines ↦ Id.run do
262262
for h : idx in [:lines.size] do
263263
let line := lines[idx]
264264
let pos := line.find (· == ' ')
265-
if pos != line.rawEndPos then
265+
if pos != line.endPos then
266266
errors := errors.push (StyleError.nonbreakingSpace, idx + 1)
267267
return (errors, none)
268268

lake-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"type": "git",
6666
"subDir": null,
6767
"scope": "leanprover-community",
68-
"rev": "bda61ace1e2fbf73689899a8b3ca5fc74b0e21b1",
68+
"rev": "80627bbde8b8a0474814092e1dd2aff89123cc1a",
6969
"name": "batteries",
7070
"manifestFile": "lake-manifest.json",
7171
"inputRev": "nightly-testing",

lakefile.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ update its toolchain to match Mathlib's and fetch the new cache.
177177
-/
178178
post_update pkg do
179179
let rootPkg ← getRootPackage
180-
if rootPkg.name = pkg.name then
180+
if rootPkg.baseName = pkg.baseName then
181181
return -- do not run in Mathlib itself
182182
if (← IO.getEnv "MATHLIB_NO_CACHE_ON_UPDATE") != some "1" then
183183
-- Check if Lake version matches toolchain version
@@ -204,4 +204,4 @@ post_update pkg do
204204
finally
205205
IO.Process.setCurrentDir cwd
206206
if exitCode ≠ 0 then
207-
error s!"{pkg.name}: failed to fetch cache"
207+
error s!"{pkg.baseName}: failed to fetch cache"

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:nightly-2025-12-09
1+
leanprover/lean4:nightly-2025-12-10

0 commit comments

Comments
 (0)