Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting network-uri-2.6.1.0 Starting network-2.6.3.6 Building network-uri-2.6.1.0 Building network-2.6.3.6 Completed network-uri-2.6.1.0 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Completed old-locale-1.0.0.7 Starting parallel-3.2.2.0 Building parallel-3.2.2.0 Completed parallel-3.2.2.0 Starting random-1.1 Building random-1.1 Completed network-2.6.3.6 Starting stringsearch-0.3.6.6 Building stringsearch-0.3.6.6 Completed random-1.1 Starting syb-0.7 Building syb-0.7 Completed stringsearch-0.3.6.6 Starting transformers-compat-0.6.2 Completed syb-0.7 Starting utf8-string-1.0.1.1 Building transformers-compat-0.6.2 Building utf8-string-1.0.1.1 Completed transformers-compat-0.6.2 Starting old-time-1.1.0.3 Completed utf8-string-1.0.1.1 Starting httpd-shed-0.4.0.3 Building httpd-shed-0.4.0.3 Building old-time-1.1.0.3 Completed httpd-shed-0.4.0.3 Starting multipart-0.1.3 Building multipart-0.1.3 Completed old-time-1.1.0.3 Starting json-0.9.2 Building json-0.9.2 Completed multipart-0.1.3 Starting exceptions-0.10.0 Building exceptions-0.10.0 Completed json-0.9.2 Starting time-compat-0.1.0.3 Completed exceptions-0.10.0 Starting cgi-3001.3.0.3 Building time-compat-0.1.0.3 Building cgi-3001.3.0.3 Completed time-compat-0.1.0.3 Completed cgi-3001.3.0.3 Downloading gf-3.10 Downloaded gf-3.10 Starting gf-3.10 Failed to install gf-3.10 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/gf-3.10-95ErKUaaeSIE3Vg7NuP3sA.log ): cabal: Entering directory '/tmp/cabal-tmp-2736/gf-3.10' cabal: Leaving directory '/tmp/cabal-tmp-2736/gf-3.10' cabal: Error: some packages failed to install: gf-3.10-95ErKUaaeSIE3Vg7NuP3sA failed during the configure step. The exception was: dieVerbatim: user error (cabal: '/usr/local/bin/ghc' exited with an error: /tmp/cabal-tmp-2736/gf-3.10/dist/setup/setup.hs:77:32: error: • Couldn't match type ‘Distribution.System.Platform -> String’ with ‘[Char]’ Expected type: String Actual type: Distribution.System.Platform -> String • Probable cause: ‘exeExtension’ is applied to too few arguments In the second argument of ‘(<.>)’, namely ‘exeExtension’ In the expression: exeName' <.> exeExtension In an equation for ‘exeNameReal’: exeNameReal = exeName' <.> exeExtension | 77 | exeNameReal = exeName' <.> exeExtension | ^^^^^^^^^^^^ )