Option to add add reject-unconstrained-dependencies to the freeze file
Open
cabal-install: cmd/freeze
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
#5475 landed `--reject-unconstrained-dependencies`, which is particularly useful with freeze files. However, presently, either the option needs to be specified at every invocation, or you need to know to put it in one of the configuration files, which might affect more than you want it to. I think that it makes more sense for new-freeze to grow an `--add-reject-unconstrained-dependencies` option (or some suitably bikeshedded name), which will add that to the freeze file.
Contributor guide
Assessment
This issue has not been assessed yet.