[Haskell-cafe] Yesod with lts-10.4

Iustin Pop iustin at k1024.org
Sun Feb 4 21:25:45 UTC 2018


On 2018-02-04 22:20:38, Yotam Ohad wrote:
> Hi,
> I'm trying to install yesod using stack and lts-10.4, but I get the
> following result:
> stack install yesod
> aeson-1.2.3.0: configure
> aeson-1.2.3.0: build
> Progress: 1/26
> --  While building custom Setup.hs for package aeson-1.2.3.0 using:
> 
> /home/yotam/.stack/setup-exe-cache/i386-linux-nopie/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2
> --builddir=.stack-work/dist/i386-linux-nopie/Cabal-2.0.1.0 build
> --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
>     Process exited with code: ExitFailure 1
>     Logs have been written to:
> /home/yotam/TheMafsidan/.stack-work/logs/aeson-1.2.3.0.log

…

For what is worth, I'm using aeson (1.2.3.0) with lts-10.4 as a
dependency in my code (together with yesod), and I don't see this
problem:

$ stack list-dependencies|grep -e aeson -e yesod
aeson 1.2.3.0
aeson-compat 0.3.7.1
classy-prelude-yesod 1.3.1
yesod 1.4.5
yesod-auth 1.4.21
yesod-auth-hashdb 1.6.2
yesod-core 1.4.37.3
yesod-form 1.4.16
yesod-newsfeed 1.6
yesod-persistent 1.4.3
yesod-static 1.5.3.1

$ stack build - works

Strange…

iustin


More information about the Haskell-Cafe mailing list