Skip to content

Commit 6a9b2cd

Browse files
committed
When to commit a freeze file to source control
1 parent 8f83ca2 commit 6a9b2cd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

doc/how-to-freeze-versions.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,10 @@ and within so the generated ``cabal.project.freeze`` file has no ``os(name)``,
467467
``arch(name)`` or ``impl(compiler)`` conditionals. This is why a ``.freeze``
468468
file is not a true lock file.
469469

470+
For a software product that is developed and built for production on the same
471+
platform and environment, committing the freeze file to source control may make
472+
sense.
473+
470474
.. Tip::
471475

472476
To freeze but also build your project with different versions of GHC; fix

0 commit comments

Comments
 (0)