Skip to content

Assertion when new-building base with tests enabled in cabal.project #4210

Open
@robinp

Description

@robinp

When having a slightly patched Cabal (see #4209) to rebuild base, and cabal.project contains tests: True, then running cabal new-build base yields the following assertion pkgStanzasEnabled Set.isSubsetOf pkgStanzasAvailable - though the sanity check code at head seems somewhat newer than the 1.24.0.2 code.

Adding

package base
    tests: False

works around it.

Originally in mail thread.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions