Skip to content

Make sublibraries public#315

Merged
dorchard merged 2 commits intogranule-project:mainfrom
BinderDavid:make-sublibraries-public
Jan 14, 2026
Merged

Make sublibraries public#315
dorchard merged 2 commits intogranule-project:mainfrom
BinderDavid:make-sublibraries-public

Conversation

@BinderDavid
Copy link
Contributor

@jacobpake uses the frontend library from within the granule llvm compiler. We therefore need to make the sublibraries usable from within other projects.

@BinderDavid BinderDavid requested a review from dorchard December 19, 2025 20:34
@jacobpake
Copy link
Member

Thanks @BinderDavid, this should work but I am still getting the error:

granule is a library dependency, but the package provides no library.

(I am depending only on granule:frontend)

Seems like a bug. If I add an empty default library to granule.cabal then it works:

granule/granule.cabal

Lines 66 to 68 in 739e37f

library

@dorchard
Copy link
Member

Did the last commit fix it for you @jacobpake?

@jacobpake
Copy link
Member

yes, this will work

thanks @BinderDavid

@dorchard
Copy link
Member

Great. I will merge.

@dorchard dorchard merged commit 24c6b0e into granule-project:main Jan 14, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants