[Nix-dev] [haskell] [travis] building takes more than 50 minutes

Dmitry Malikov malikov.d.y at gmail.com
Fri Jun 5 00:07:47 CEST 2015


Hey guys,

I'm trying to use nix to build some haskell library in TravisCI.
Unfortunately, it takes more than 50 minutes.

.travis.yml
<https://github.com/supki/scrobblers/blob/5627d12ef6beb7b74aa3d5dbf1a9b472bc08e8fc/.travis.yml>
build log <https://travis-ci.org/supki/scrobblers/jobs/65471666>

As you can see, even cabal was compiled there, thank god GHC wasn't.

After all that I have a strong feeling that most of these haskell packages
could have been used from some binary sources (or from channels) and there
were no need to compile them.
Presumably, there should be a way to minimise build time by reducing some
redundant compiling.

Any advice on how to improve it?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150605/81243464/attachment.html 


More information about the nix-dev mailing list