Skip to content

directory and unix packages are broken with default config in LTS 24.10 (and probably other snapshots) #7847

@TravisWhitaker

Description

@TravisWhitaker

LTS 24.10 includes unix version 2.8.6.0, whose cabal file contains these fragments:

flag os-string
  description: Use the new os-string package
  default: False
  manual: False

...

    if flag(os-string)
      build-depends: filepath >= 1.5.0.0, os-string >= 2.0.0
    else
      build-depends: filepath >= 1.4.100.0 && < 1.5.0.0

This means that unix cannot be built in its default configuration, because the version of filepath in LTS 24.10 is 1.5.4.0, and can only be built with the -fos-string flag enabled. This is potentially problematic for e.g. GHCJS and WASM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions