Resolving dependencies... Configuring base64-bytestring-1.0.0.1... Configuring extensible-exceptions-0.1.1.4... Building base64-bytestring-1.0.0.1... Building extensible-exceptions-0.1.1.4... Installed extensible-exceptions-0.1.1.4 Configuring html-1.0.1.2... Building html-1.0.1.2... Configuring mtl-2.2.1... Installed base64-bytestring-1.0.0.1 Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed html-1.0.1.2 Building old-locale-1.0.0.7... Configuring split-0.2.3.1... Installed old-locale-1.0.0.7 Building split-0.2.3.1... Configuring stm-2.4.4.1... Installed mtl-2.2.1 Building stm-2.4.4.1... Configuring network-2.6.3.1... Installed split-0.2.3.1 Configuring syb-0.6... Installed stm-2.4.4.1 Building syb-0.6... Building network-2.6.3.1... Configuring transformers-compat-0.5.1.4... Installed syb-0.6 Building transformers-compat-0.5.1.4... Configuring text-1.2.2.1... Installed transformers-compat-0.5.1.4 Building text-1.2.2.1... Configuring utf8-string-1.0.1.1... Installed network-2.6.3.1 Building utf8-string-1.0.1.1... Configuring zlib-0.6.1.2... Installed utf8-string-1.0.1.1 Building zlib-0.6.1.2... Installed zlib-0.6.1.2 Configuring threads-0.5.1.4... Building threads-0.5.1.4... Configuring exceptions-0.8.3... Installed text-1.2.2.1 Building exceptions-0.8.3... Configuring transformers-base-0.4.4... Installed threads-0.5.1.4 Building transformers-base-0.4.4... Configuring old-time-1.1.0.3... Installed transformers-base-0.4.4 Configuring hslogger-1.2.10... Installed exceptions-0.8.3 Building hslogger-1.2.10... Building old-time-1.1.0.3... Configuring sendfile-0.7.9... Installed hslogger-1.2.10 Installed old-time-1.1.0.3 Configuring blaze-builder-0.4.0.2... Building sendfile-0.7.9... Building blaze-builder-0.4.0.2... Configuring hashable-1.2.4.0... Installed sendfile-0.7.9 Building hashable-1.2.4.0... Configuring system-filepath-0.4.13.4... Installed blaze-builder-0.4.0.2 Configuring monad-control-1.0.1.0... Installed hashable-1.2.4.0 Building monad-control-1.0.1.0... Building system-filepath-0.4.13.4... Configuring parsec-3.1.11... Installed monad-control-1.0.1.0 Building parsec-3.1.11... Configuring time-compat-0.1.0.3... Installed system-filepath-0.4.13.4 Building time-compat-0.1.0.3... Installed time-compat-0.1.0.3 Configuring blaze-markup-0.7.1.1... Building blaze-markup-0.7.1.1... Configuring case-insensitive-1.2.0.7... Installed parsec-3.1.11 Configuring network-uri-2.6.1.0... Installed blaze-markup-0.7.1.1 Building case-insensitive-1.2.0.7... Building network-uri-2.6.1.0... Installed case-insensitive-1.2.0.7 Configuring http-types-0.9.1... Building http-types-0.9.1... Configuring blaze-html-0.8.1.3... Installed network-uri-2.6.1.0 Building blaze-html-0.8.1.3... Installed http-types-0.9.1 Configuring web-routes-0.27.11... Building web-routes-0.27.11... Installed web-routes-0.27.11 Installed blaze-html-0.8.1.3 Configuring happstack-server-7.4.6.2... Building happstack-server-7.4.6.2... Installed happstack-server-7.4.6.2 Configuring web-routes-happstack-0.21.1... Building web-routes-happstack-0.21.1... Failed to install web-routes-happstack-0.21.1 Build log ( /home/builder/.cabal/logs/web-routes-happstack-0.21.1.log ): cabal: Entering directory '/tmp/cabal-tmp-6390/web-routes-happstack-0.21.1' Configuring web-routes-happstack-0.21.1... Building web-routes-happstack-0.21.1... Preprocessing library web-routes-happstack-0.21.1... [1 of 1] Compiling Web.Routes.Happstack ( Web/Routes/Happstack.hs, dist/build/Web/Routes/Happstack.o ) Web/Routes/Happstack.hs:39:47: error: • Couldn't match expected type ‘text-1.2.2.1:Data.Text.Internal.Text’ with actual type ‘[Char]’ • In the first argument of ‘runSite’, namely ‘(domain ++ approot)’ In the expression: runSite (domain ++ approot) siteSpec pathInfo In an equation for ‘f’: f = runSite (domain ++ approot) siteSpec pathInfo Web/Routes/Happstack.hs:39:75: error: • Couldn't match type ‘Char’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: [text-1.2.2.1:Data.Text.Internal.Text] Actual type: [Char] • In the third argument of ‘runSite’, namely ‘pathInfo’ In the expression: runSite (domain ++ approot) siteSpec pathInfo In an equation for ‘f’: f = runSite (domain ++ approot) siteSpec pathInfo cabal: Leaving directory '/tmp/cabal-tmp-6390/web-routes-happstack-0.21.1' cabal: Error: some packages failed to install: web-routes-happstack-0.21.1 failed during the building phase. The exception was: ExitFailure 1