jaspervdj / websockets-snap

Snap integration for the websockets library
Other
33 stars 21 forks source link

Compile failure in latest websocket-snap release #19

Closed hvr closed 7 years ago

hvr commented 7 years ago

I noticed this build failure (with GHC 7.6.3):

In order, the following will be built (use -v for more details):
 - websockets-snap-0.10.1.0 {websockets-snap-0.10.1.0-inplace} (lib:websockets-snap) (first run)
Configuring websockets-snap-0.10.1.0...
Preprocessing library websockets-snap-0.10.1.0...

src/Network/WebSockets/Snap.hs:20:18:
    Could not find module `Data.ByteString.Builder.Extra'
    It is a member of the hidden package `bytestring-0.10.8.1'.
    Perhaps you need to add `bytestring' to the build-depends in your .cabal file.
    It is a member of the hidden package `bytestring-builder-0.10.8.1.0'.
    Perhaps you need to add `bytestring-builder' to the build-depends in your .cabal file.
    It is a member of the hidden package `bytestring-builder-0.10.6.0.0'.
    Perhaps you need to add `bytestring-builder' to the build-depends in your .cabal file.
    It is a member of the hidden package `bytestring-0.10.6.0'.
    Perhaps you need to add `bytestring' to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.
jaspervdj commented 7 years ago

Thanks for reporting this. I've added the bytestring-builder compatibility package to the dependencies. It should be fixed now, the new version is websockets-snap-0.10.1.1.