-
Notifications
You must be signed in to change notification settings - Fork 722
Description
In some scenarios, it would be extremely helpful to allow Cabal's new-build
to operate in a simplified mode, whereby it would be supplied with a GHC package set presumed to be used as-is, and so it would look for a solution within that package set, according to the .cabal
-specified constraints.
Using the functionality of new-freeze
doesn't quite fit the bill, because it's documented to:
which records all of the versions and flags which that are picked by the solver under the current index and flags
..which seems to necessitate undesired specificity -- all we want to specify is just an input package set, but not the extra details -- basically keeping the freedom to use a wider range of inputs (since we can vary versions and flags) that can be "matched" against the cabal file.