summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-08-12 09:12:51 +0200
committerGitHub <noreply@github.com>2016-08-12 09:12:51 +0200
commit4b20c5367de0385be0fe3b06bd91873f74966931 (patch)
tree37f9ac18a3a3ea94dfcf1915b5c5677b34d41749 /pkgs
parent9e6c2adfca97b8dfca47899ce41314a3e951afbc (diff)
parent59e1397f0173c7d5d12a60d2e547c0276f770b40 (diff)
downloadnixlib-4b20c5367de0385be0fe3b06bd91873f74966931.tar
nixlib-4b20c5367de0385be0fe3b06bd91873f74966931.tar.gz
nixlib-4b20c5367de0385be0fe3b06bd91873f74966931.tar.bz2
nixlib-4b20c5367de0385be0fe3b06bd91873f74966931.tar.lz
nixlib-4b20c5367de0385be0fe3b06bd91873f74966931.tar.xz
nixlib-4b20c5367de0385be0fe3b06bd91873f74966931.tar.zst
nixlib-4b20c5367de0385be0fe3b06bd91873f74966931.zip
Merge pull request #17676 from LnL7/haskell-hoauth2
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";