|
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?
cabal/Cabal/doc/nix-local-build.rst
Lines 503 to 507 in 4ed0d54
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?