@hackage os-string1.0.0

Library for manipulating Operating system strings.

This package provides functionality for manipulating OsString values, and is shipped with GHC.

Version 1.0.0 (unlike the following versions) is a dummy package that prevents module name clashes between os-string and filepath if used together.

If you simply want the newer os-string package, make sure to depend on the newer versions:

library
  build-depends:
    os-string >= 2.0.0

If you want to default to the older filepath provided OsString modules, but allow users to switch to the newer os-string, you can provide a flag like so:

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

library
  -- ...
  if flag(os-string)
    build-depends: os-string >= 2.0.0
  else
    build-depends: filepath < 1.5, os-string < 2.0.0