Resolving dependencies... Downloading Takusen-0.8.7... [1 of 1] Compiling Main ( /tmp/Takusen-0.8.7-17775/Takusen-0.8.7/Setup.hs, /tmp/Takusen-0.8.7-17775/Takusen-0.8.7/dist/setup/Main.o ) /tmp/Takusen-0.8.7-17775/Takusen-0.8.7/Setup.hs:23:25: Module `System.IO.Error' does not export `try' Failed to install Takusen-0.8.7 Downloading template-haskell-2.4.0.1... Configuring template-haskell-2.4.0.1... Building template-haskell-2.4.0.1... Preprocessing library template-haskell-2.4.0.1... [1 of 7] Compiling Language.Haskell.TH.Syntax.Internals ( Language/Haskell/TH/Syntax/Internals.hs, dist/build/Language/Haskell/TH/Syntax/Internals.o ) [2 of 7] Compiling Language.Haskell.TH.Syntax ( Language/Haskell/TH/Syntax.hs, dist/build/Language/Haskell/TH/Syntax.o ) [3 of 7] Compiling Language.Haskell.TH.PprLib ( Language/Haskell/TH/PprLib.hs, dist/build/Language/Haskell/TH/PprLib.o ) Language/Haskell/TH/PprLib.hs:54:10: Illegal instance declaration for `Show Doc' (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `Show Doc' Failed to install template-haskell-2.4.0.1 cabal: Error: some packages failed to install: Takusen-0.8.7 failed during the configure step. The exception was: ExitFailure 1 ta-0.1 depends on template-haskell-2.4.0.1 which failed to install. template-haskell-2.4.0.1 failed during the building phase. The exception was: ExitFailure 1