Skip to content

use of multiple --allow-newer options #2588

Closed

Description

@amigalemming

I tried

$ cabal install --allow-newer=base --allow-newer=ghc-prim pkg

and it seems that --allow-newer=ghc-prim overrides --allow-newer=base. I expected that both options are combined. I was not aware that I can use a list of packages as argument to the option. I suggest to either

  • combine multiple uses of the allow-newer option, or
  • abort with an error if the option is passed twice.

I prefer the first way.

Activity

  1. 23Skidoo commented on May 13, 2015

    @23Skidoo
    Member

    Try --allow-newer=base,ghc-prim.

  2. self-assigned this
    on May 13, 2015
  3. hvr commented on Aug 10, 2015

    @hvr
    Member

    ...at the very least we should have cabal-install emit a warning if multiple uses of --allow-newer result in a different behaviour than expected...

  4. added this to the cabal-install 1.24 milestone on Feb 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions