jaspervdj / websockets-snap

Snap integration for the websockets library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile failure in latest websocket-snap release

hvr opened this issue · comments

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.

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.