We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab7a8db commit 03d33bdCopy full SHA for 03d33bd
lakefile.lean
@@ -177,7 +177,7 @@ update its toolchain to match Mathlib's and fetch the new cache.
177
-/
178
post_update pkg do
179
let rootPkg ← getRootPackage
180
- if rootPkg.name = pkg.name then
+ if rootPkg.baseName = pkg.baseName then
181
return -- do not run in Mathlib itself
182
if (← IO.getEnv "MATHLIB_NO_CACHE_ON_UPDATE") != some "1" then
183
-- Check if Lake version matches toolchain version
@@ -204,4 +204,4 @@ post_update pkg do
204
finally
205
IO.Process.setCurrentDir cwd
206
if exitCode ≠ 0 then
207
- error s!"{pkg.name}: failed to fetch cache"
+ error s!"{pkg.baseName}: failed to fetch cache"
0 commit comments