haskell-unordered-containers / hashable

A class for types that can be converted to a hash value
BSD 3-Clause "New" or "Revised" License
102 stars 85 forks source link

hashable doesn't support filepath-1.5, ghc-9.10 will bump filepath to 1.5 #292

Closed jwaldmann closed 5 months ago

jwaldmann commented 6 months ago

hashable doesn't support filepath-1.5 ( https://github.com/haskell-unordered-containers/hashable/issues/291#issuecomment-1949586983 )

ghc-9.10 will bump filepath to 1.5 ( https://gitlab.haskell.org/ghc/ghc/-/milestones/380)

will this create a conflict?

andreasabel commented 6 months ago

Hitting this build error:

[3 of 7] Compiling Data.Hashable.Class ( src/Data/Hashable/Class.hs, dist/build/Data/Hashable/Class.o, dist/build/Data/Hashable/Class.dyn_o )

src/Data/Hashable/Class.hs:167:1: error: [GHC-87110]
    Could not load module ‘System.OsString.Internal.Types’.
    It is a member of the hidden package ‘os-string-2.0.2’.
    Perhaps you need to add ‘os-string’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.
    |
167 | import System.OsString.Internal.Types (OsString (..), PosixString (..), WindowsString (..))
    | 

So, at least dependency os-string has to be added, it seems.

andreasabel commented 6 months ago

It seems that this is not fixed by head.hackage: https://gitlab.haskell.org/ghc/head.hackage/-/issues/100

andreasabel commented 5 months ago

Possibly be fixed by: