Skip to content

cabal new-build --help says default build-dir is dist/ #5380

Closed

Description

@quasicomputational

That's a lie: it should be dist-newstyle/. I started chasing this up but I got lost in the twisty maze of option parsing.

Activity

  1. self-assigned this
    on Jun 15, 2018
  2. added
    cabal-install: v2-build system
    on Jun 15, 2018
  3. typedrat commented on Jul 13, 2018

    @typedrat
    Collaborator

    This be a massive undertaking to fix, having investigated it. The issue is that the new- commands reuse a bunch of old Flags types that include optionDistPref that assumes it's dist and there's no easy way to fix it without somewhat heavy refactoring.

  4. hvr commented on Jul 19, 2018

    @hvr
    Member

    fwiw, dist-newstyle is supposed to be renamed to dist when new-build becomes build; so I'm not sure this is of much priority. Originally, it was named differently from dist to avoid old-build and new-build stepping on each other's toes but in hindsight it might not have been necessary.

  5. typedrat commented on Jul 20, 2018

    @typedrat
    Collaborator

    I'm gonna say that makes this a WONTFIX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cabal-install: v2-build system

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions