Skip to content

Commit c454329

Browse files
bollutydeu
andauthored
Update src/lake/Lake/Build/Library.lean
Co-authored-by: Mac Malone <[email protected]>
1 parent 09a9585 commit c454329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lake/Lake/Build/Library.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def LeanLib.staticExportFacetConfig : LibraryFacetConfig staticExportFacet :=
7676
@[specialize] protected def LeanLib.buildStaticFat
7777
(self : LeanLib) : FetchM (BuildJob FilePath) := do
7878
withRegisterJob s!"{self.name}:static.fat" do
79-
let mods ← self.rootModules.concatMapM fun mod => do
79+
let mods ← (← self.modules.fetch).concatMapM fun mod => do
8080
return (← mod.transImports.fetch).push mod
8181
let oJobs ← mods.concatMapM fun mod =>
8282
mod.nativeFacets (shouldExport := true) |>.mapM fun facet => fetch <| mod.facet facet.name

0 commit comments

Comments
 (0)