You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Advice on distributing cabal.project.freeze for projects with exes and libs. #5750
For end-user executables, it is recommended that you distribute the
``cabal.project.freeze`` file in your source repository so that all
users see a consistent set of dependencies. For libraries, this is not
recommended: users often need to build against different versions of
libraries than what you developed against.
I don't know how to apply this advice when the project has both executables and libraries. Can we advise what to do in this situation too please? Can the constraints be limited to just the executables?
Would having --project=cabal-exes.project and --project=cabal-libs.project when cabal-exes.project.freeze exists but cabal-libs.project.freeze doesn't be consistent with the advice?
Activity
philderbeast commentedon Nov 28, 2018
Would having
--project=cabal-exes.projectand--project=cabal-libs.projectwhencabal-exes.project.freezeexists butcabal-libs.project.freezedoesn't be consistent with the advice?jneira commentedon Mar 23, 2022
Issues related: #8047, #8059. Maybe #8053 could include the clarification