haskellPackages.hoauth2: fix test dependencies for ghc7.10.x

This commit is contained in:
Daiderd Jordan 2016-08-11 23:02:49 +02:00
parent a97df891fe
commit 59e1397f01
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -63,6 +63,8 @@ self: super: {
nats = dontHaddock super.nats;
bytestring-builder = dontHaddock super.bytestring-builder;
hoauth2 = overrideCabal super.hoauth2 (drv: { testDepends = (drv.testDepends or []) ++ [ self.wai self.warp ]; });
# Setup: At least the following dependencies are missing: base <4.8
hspec-expectations = overrideCabal super.hspec-expectations (drv: {
postPatch = "sed -i -e 's|base < 4.8|base|' hspec-expectations.cabal";