Resolving dependencies... Configuring old-locale-1.0.0.7... Configuring mtl-2.2.1... Building old-locale-1.0.0.7... Building mtl-2.2.1... Installed old-locale-1.0.0.7 Configuring text-1.2.2.1... Building text-1.2.2.1... Configuring old-time-1.1.0.3... Installed mtl-2.2.1 Building old-time-1.1.0.3... Configuring utf8-string-1.0.1.1... Installed old-time-1.1.0.3 Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Installed text-1.2.2.1 Configuring polyparse-1.12... Building polyparse-1.12... Installed polyparse-1.12 Configuring cpphs-1.20.2... Building cpphs-1.20.2... Installed cpphs-1.20.2 Configuring haskell-src-exts-1.19.1... Building haskell-src-exts-1.19.1... Installed haskell-src-exts-1.19.1 Downloading hsx-0.4.5... Configuring hsx-0.4.5... Building hsx-0.4.5... Failed to install hsx-0.4.5 Build log ( /home/builder/.cabal/logs/hsx-0.4.5.log ): cabal: Entering directory '/tmp/cabal-tmp-16359/hsx-0.4.5' Configuring hsx-0.4.5... Building hsx-0.4.5... Preprocessing library hsx-0.4.5... on the commandline: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS [1 of 2] Compiling HSX.XMLGenerator ( src/HSX/XMLGenerator.hs, dist/build/HSX/XMLGenerator.o ) src/HSX/XMLGenerator.hs:26:13: error: • No instance for (Applicative (XMLGenT m)) arising from the 'deriving' clause of a data type declaration Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself • When deriving the instance for (Monad (XMLGenT m)) cabal: Leaving directory '/tmp/cabal-tmp-16359/hsx-0.4.5' cabal: Error: some packages failed to install: hsx-0.4.5 failed during the building phase. The exception was: ExitFailure 1