Skip to content

Instantly share code, notes, and snippets.

@hhefesto
Created October 5, 2015 21:39
Show Gist options
  • Save hhefesto/3071895539cb9dd67428 to your computer and use it in GitHub Desktop.
Save hhefesto/3071895539cb9dd67428 to your computer and use it in GitHub Desktop.
cabal install wai will not work.
➜ cabal install wai
Resolving dependencies...
Configuring wai-3.0.4.0...
Building wai-3.0.4.0...
Failed to install wai-3.0.4.0
Last 10 lines of the build log ( /home/hefesto/.cabal/logs/wai-3.0.4.0.log ):
Network/Wai/HTTP2.hs:189:19:
No instance for (Data.String.IsString Builder)
arising from the literal ‘"File not found."’
In the first argument of ‘streamBuilder’, namely
‘"File not found."’
In the second argument of ‘($)’, namely
‘streamBuilder "File not found."’
In the expression:
k H.notFound404 h' $ streamBuilder "File not found."
cabal: Error: some packages failed to install:
wai-3.0.4.0 failed during the building phase. The exception was:
ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment