Skip to content

--bindir is ignored without warning or suggestion that --installdir should be used #8520

Closed
@mgajda

Description

@mgajda

Describe the bug

Using v1-install option --bindir results in no warning, but is silently ignored.
The option is displayed in cabal new-install --help, but redundant with --installdir

To Reproduce

Steps to reproduce the behavior:

$ cabal v2-install --bindir ./output

The resulting binary will not be copied to ./output, nor warning will be issued.

Expected behavior

Since --bindir is accepted, it should be duplicate of --installdir or removed.

System information

  • cabal version 3.4.1.0
  • ghc version -- irrelevant

*** Related ***

Similar problem as with #7437.

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