Skip to content

Builds with allow-newer unnecessarily fail #176

Open
@josephcsible

Description

Using cabal with --allow-newer will break the build as of directory 1.3.8.2. The problem is that the os-string flag introduced in #165 defaults to the older way, so it will end up not using os-string even though it will be on the latest version of filepath. For now, I'm working around this by also passing -c 'directory +os-string' to cabal, but that shouldn't be necessary for everyone who ever uses --allow-newer. Any one of these three changes will fix it:

  1. Changing that flag to default: True
  2. Keep the flag default: False, but invert the meaning of it, like QuickCheck does
  3. Get rid of the flag altogether, and use os-string on GHC 9.2+ instead, like Hashable does

Metadata

Assignees

No one assigned

    Labels

    type: b-discussionThis is a discussion with unclear objectives.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions