Skip to content

Wrong cabal-version 3.4 description in cabal init #8254

@fgaz

Description

@fgaz

On cabal HEAD, I'm getting this on cabal init -i:

Please choose version of the Cabal specification to use:
[...]
   6) 3.4   (+ support for 'pkg:sublib' syntax, active repo configuration, rich index-state syntax)

but

  • "pkg:sublib syntax" has been there for a while. In 3.4 it's the only syntax supported for sublibraries, so it isn't "support for pkg:lib" syntax, but rahter "dropped support for "lib" syntax for sublibraries in build-depends
  • active repo configuration is a cabal-install feature that shouldn't be bound to a specific cabal-version
  • same for index-state

Rather, the new mixin syntax and "optional default-language" should be mentioned, see https://cabal.readthedocs.io/en/3.6/file-format-changelog.html#cabal-version-3-4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions