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 network-2.6.3.1... Installed old-locale-1.0.0.7 Configuring split-0.2.3.1... Installed mtl-2.2.1 Building split-0.2.3.1... Building network-2.6.3.1... Configuring stm-2.4.4.1... Installed split-0.2.3.1 Building stm-2.4.4.1... Configuring syb-0.6... Installed stm-2.4.4.1 Building syb-0.6... Configuring utf8-string-1.0.1.1... Installed syb-0.6 Configuring transformers-compat-0.5.1.4... Installed network-2.6.3.1 Building utf8-string-1.0.1.1... 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 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 hslogger-1.2.10... Installed threads-0.5.1.4 Building hslogger-1.2.10... Configuring old-time-1.1.0.3... Installed text-1.2.2.1 Configuring exceptions-0.8.3... Installed hslogger-1.2.10 Building exceptions-0.8.3... Building old-time-1.1.0.3... Configuring transformers-base-0.4.4... Installed exceptions-0.8.3 Building transformers-base-0.4.4... Configuring sendfile-0.7.9... Installed old-time-1.1.0.3 Building sendfile-0.7.9... Installed transformers-base-0.4.4 Configuring blaze-builder-0.4.0.2... 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 parsec-3.1.11... Installed blaze-builder-0.4.0.2 Building parsec-3.1.11... Configuring time-compat-0.1.0.3... Installed hashable-1.2.4.0 Building time-compat-0.1.0.3... Configuring monad-control-1.0.1.0... Installed time-compat-0.1.0.3 Building monad-control-1.0.1.0... Configuring system-filepath-0.4.13.4... Installed monad-control-1.0.1.0 Installed parsec-3.1.11 Configuring blaze-markup-0.7.1.1... Building blaze-markup-0.7.1.1... Building system-filepath-0.4.13.4... Configuring case-insensitive-1.2.0.7... Installed blaze-markup-0.7.1.1 Building case-insensitive-1.2.0.7... Configuring network-uri-2.6.1.0... Installed system-filepath-0.4.13.4 Installed case-insensitive-1.2.0.7 Configuring http-types-0.9.1... Building network-uri-2.6.1.0... Building http-types-0.9.1... Configuring blaze-html-0.8.1.3... Installed network-uri-2.6.1.0 Installed http-types-0.9.1 Configuring web-routes-0.27.11... Building blaze-html-0.8.1.3... 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 Downloading web-routes-happstack-0.21.1... 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-18947/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-18947/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