Allow set notation in `allow-newer`
Open
attention: pr-welcome
re: allow-newer
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
```
$ cabal build --allow-newer='aeson:{base,ghc-prim}'
Error: cabal: invalid argument to option `--allow-newer': Cannot parse the
list of packages: aeson:{base,ghc-prim}
```
Would be nice if this would be expanded in the obvious way.
In general, in `--allow-newer=P:D`, `P:D` could mean the cartesian product of sets `P` and `D`.
Related: #7740
Contributor guide
Assessment
This issue has not been assessed yet.