Closed el-hult closed 2 years ago
As you can see from the Cabal file, the example is not buildable unless the flag is specified: https://github.com/jaspervdj/websockets/blob/master/websockets.cabal#L188
Did you try with -f Example
?
oh I see. that makes sense. I guess it is obvious when you know it. sorry about that.
Running
cabal install websockets
gives meAnd I can resolve the issue by only installing the library (as intended, I guess) by
cabal install --lib websockets
So I guess the instructions on https://jaspervdj.be/websockets/ should be updated.