
Hi Steven
I guess you should add `--enable-tests --enable-benchmarks`
to the `cabal install --dependencies-only` call,
so that you install dependencies for the exact
setup that you want to build.
Cheers,
Mikolaj
On Sun, Oct 22, 2017 at 2:45 PM, Steven Leiva
Hi Everyone,
I am trying to contribute to a small Haskell project https://github.com/markandrus/twilio-haskell/pull/57 in order to break out of structured learning via books into some real-world code.
Unfortunately, the pull request that I made (linked above) is failing the continuous integration check. You can see a partial log before. The entire logs can be found here https://s3.amazonaws.com/archive.travis-ci.org/jobs/291109486/log.txt?X-Amz-Expires=30&X-Amz-Date=20171022T123432Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJRYRXRSVGNKPKO5A/20171022/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=7e49813e9db85016959f80a457b6d323575425c4cc1cf02ae95f942b28fbc0cc .
I thought that this would work because:
1. We are using the 8.20 resolver in our project. 2. The 8.20 resolver includes QuickCheck, hspec, and quickcheck-instances. 3. The dependencies are listed in the cabal file.
Am I missing something obvious? Is the above not the way it works?
Thank you for any help.
Logs
Reading available packages... Choosing modular solver. Resolving dependencies... Could not resolve dependencies: trying: twilio-0.2.0.0 (user goal) rejecting: twilio-0.2.0.0:!test (global constraint requires opposite flag selection) trying: twilio-0.2.0.0:*test next goal: quickcheck-instances (dependency of twilio-0.2.0.0:*test) fail (unknown package: quickcheck-instances) Dependency tree exhaustively searched. Configuring twilio-0.2.0.0... cabal: At least the following dependencies are missing: QuickCheck ==2.*, hspec ==2.*, quickcheck-instances -any
[image: Mixmax] https://mixmax.com/r/59ec918e83319a2a077ff18c Not using Mixmax yet? https://mixmax.com/r/59ec918e83319a2a077ff18c
Steven Leiva 305.528.6038 leiva.steven@gmail.com http://www.linkedin.com/in/stevenleiva
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.