Resolving dependencies... Downloading language-lua-0.2.3... Configuring language-lua-0.2.3... Building language-lua-0.2.3... Preprocessing library language-lua-0.2.3... [1 of 8] Compiling Text.PrettyPrint.Leijen ( src/Text/PrettyPrint/Leijen.hs, dist/build/Text/PrettyPrint/Leijen.o ) [2 of 8] Compiling Language.Lua.Token ( src/Language/Lua/Token.hs, dist/build/Language/Lua/Token.o ) [3 of 8] Compiling Language.Lua.Lexer ( dist/build/Language/Lua/Lexer.hs, dist/build/Language/Lua/Lexer.o ) src/Language/Lua/Lexer.x:259:17: Couldn't match type `(AlexPosn, Char, String)' with `(AlexPosn, Char, [Byte], String)' Expected type: AlexInput Actual type: (AlexPosn, Char, String) In the return type of a call of `ignorePendingBytes' In the first argument of `action', namely `(ignorePendingBytes inp)' In a stmt of a 'do' block: action (ignorePendingBytes inp) len templates/wrappers.hs:208:17: Couldn't match type `(AlexPosn, Char, String)' with `(AlexPosn, Char, [Byte], String)' Expected type: AlexInput Actual type: (AlexPosn, Char, String) In the return type of a call of `ignorePendingBytes' In the first argument of `action', namely `(ignorePendingBytes inp)' In a stmt of a 'do' block: action (ignorePendingBytes inp) len Failed to install language-lua-0.2.3 cabal: Error: some packages failed to install: language-lua-0.2.3 failed during the building phase. The exception was: ExitFailure 1