Skip to content

cabal v2-build doesn't respect builddir option in ~/.cabal/config #7818

Closed
@konsumlamm

Description

@konsumlamm

To Reproduce
Steps to reproduce the behavior:

Add builddir: dist to ~/.cabal/config.

$ cabal init
$ cabal v2-build

The build artifacts still go to dist-newstyle.

Expected behavior
The build artifacts go to dist (this is the case with cabal v1-build).

System information
cabal-install version 3.6.2.0

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