yav / pretty-show

Tools for working with derived Show instances in Haskell.
MIT License
57 stars 15 forks source link

Failure while building with Cabal 1.24.2.0 #24

Closed decentral1se closed 6 years ago

decentral1se commented 6 years ago

I saw:

cabal: Error: some packages failed to install:                                
hedgehog-0.5.1 depends on pretty-show-1.6.15 which failed to install.
pretty-show-1.6.15 failed during the configure step. The exception was:
ExitFailure 1  

And then further above:

Configuring pretty-show-1.6.15...                                                                                                                                                              
cabal: The program 'happy' is required but it could not be found.                                                                                                                              
cabal: Leaving directory '/tmp/cabal-tmp-59/pretty-show-1.6.15'  

I saw you have https://github.com/yav/pretty-show/blob/master/pretty-show.cabal#L53.

So, I'm confused as to why this is happening.

decentral1se commented 6 years ago

An example of the full logs is over at https://travis-ci.org/lwm/tasty-discover/jobs/319296459.

danr commented 6 years ago

You have to do cabal install alex happy first. This is a shortcoming of cabal not willing to install tool dependencies.

decentral1se commented 6 years ago

Ah, I was not sure. Thanks @danr!