Skip to content

Commit 8f83ca2

Browse files
committed
Not a true lock file
1 parent 40fa380 commit 8f83ca2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

doc/how-to-freeze-versions.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,11 @@ dependencies based on the operating system. The index state of the local package
462462
index will also change the list of possible dependencies available to the
463463
solver.
464464

465+
The solver can only solve for the platform and environment that it is running on
466+
and within so the generated ``cabal.project.freeze`` file has no ``os(name)``,
467+
``arch(name)`` or ``impl(compiler)`` conditionals. This is why a ``.freeze``
468+
file is not a true lock file.
469+
465470
.. Tip::
466471

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

0 commit comments

Comments
 (0)