Skip to content

Allow set notation in allow-newer #7786

@andreasabel

Description

@andreasabel
$ 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions