haskell / haskell/cabal

Allow set notation in `allow-newer`

Open
#7,786 4 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.