Resolving dependencies... Downloading th-lift-0.4... Warning: th-lift.cabal: A package using 'cabal-version: >=1.3' must use section syntax. See the Cabal user guide for details. Configuring th-lift-0.4... Building th-lift-0.4... Preprocessing library th-lift-0.4... [1 of 1] Compiling Language.Haskell.TH.Lift ( Language/Haskell/TH/Lift.hs, dist/build/Language/Haskell/TH/Lift.o ) Language/Haskell/TH/Lift.hs:80:10: Illegal instance declaration for `Lift Rational' (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 `Lift Rational' Failed to install th-lift-0.4 cabal: Error: some packages failed to install: th-lift-0.4 failed during the building phase. The exception was: ExitFailure 1