Closed
Description
Currently it seems impossible to get at contents of cabal.project.freeze
file without re-implementing a bunch of the Distribution.Client.Config
that's only in the cabal-install
binary and not available to be used.
Our specific use-case is that we generate stack.yaml
file as a shim from our cabal files and the freeze file contains the set of flags that we should be using.
In general, it seems that parsing this file should be inside Cabal.