Skip to content

Advice on distributing cabal.project.freeze for projects with exes and libs. #5750

@philderbeast

Description

@philderbeast

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions