summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-08-11 23:02:49 +0200
committerDaiderd Jordan <daiderd@gmail.com>2016-08-11 23:02:49 +0200
commit59e1397f0173c7d5d12a60d2e547c0276f770b40 (patch)
tree9cc9a9f2fd712bbf57ebf711134fe6bc51b6d67b /pkgs
parenta97df891fee47f9eda8145f2485c0d7673916fde (diff)
downloadnixlib-59e1397f0173c7d5d12a60d2e547c0276f770b40.tar
nixlib-59e1397f0173c7d5d12a60d2e547c0276f770b40.tar.gz
nixlib-59e1397f0173c7d5d12a60d2e547c0276f770b40.tar.bz2
nixlib-59e1397f0173c7d5d12a60d2e547c0276f770b40.tar.lz
nixlib-59e1397f0173c7d5d12a60d2e547c0276f770b40.tar.xz
nixlib-59e1397f0173c7d5d12a60d2e547c0276f770b40.tar.zst
nixlib-59e1397f0173c7d5d12a60d2e547c0276f770b40.zip
haskellPackages.hoauth2: fix test dependencies for ghc7.10.x
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
index cef032ff2e77..d594170d4580 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
@@ -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";