on master help sign in
Fix wai-websockets.cabal

The build-depends would still be effective if they are not part of the `if`.

commit45e8f5c2de1f83d565943f5b6527ecb04444d1bd authorJoachim Breitner <mail@joachim-breitner.de> dateSat 3 May 2014, 22:22 (12 years ago) parent4c30237
1 file changed+3−3
wai-websockets/wai-websockets.cabal+3−3
wai-websockets/wai-websockets.cabal+3−3
@@ -34,9 +34,7 @@ Library
3434Executable wai-websockets-example
3535 if flag(example)
3636 buildable: True
37− else
38− buildable: False
39− Build-Depends: base >= 3 && < 5
37+ Build-Depends: base >= 3 && < 5
4038 , conduit
4139 , wai-websockets
4240 , websockets
@@ -52,6 +50,8 @@ Executable wai-websockets-example
5250 , file-embed
5351 , io-streams
5452 , http-types
53+ else
54+ buildable: False
5555
5656 ghc-options: -Wall -threaded
5757 main-is: server.lhs