about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-09 19:53:07 +0100
committerPeter Simons <simons@cryp.to>2015-01-09 19:55:25 +0100
commitadf0a891be1fa217747530efba10499f2c20822b (patch)
tree20c3c25432cfb9f48d7b5043794b6442ce22ab88 /pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
parent2761c63bcfee01287169c9a1bfb6a17862951eac (diff)
downloadnixlib-adf0a891be1fa217747530efba10499f2c20822b.tar
nixlib-adf0a891be1fa217747530efba10499f2c20822b.tar.gz
nixlib-adf0a891be1fa217747530efba10499f2c20822b.tar.bz2
nixlib-adf0a891be1fa217747530efba10499f2c20822b.tar.lz
nixlib-adf0a891be1fa217747530efba10499f2c20822b.tar.xz
nixlib-adf0a891be1fa217747530efba10499f2c20822b.tar.zst
nixlib-adf0a891be1fa217747530efba10499f2c20822b.zip
haskell-configuration-ghc-7.9.x: add a couple of overrides to disable failing test suites (mostly doctest)
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
index b704da06fc67..b61705021b47 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
@@ -38,7 +38,7 @@ self: super: {
   # https://ghc.haskell.org/trac/ghc/ticket/9921
   mkDerivation = drv: super.mkDerivation (drv // { doHoogle = false; });
 
-  # These used to be a core packages in GHC 7.8.x.
+  # These used to be core packages in GHC 7.8.x.
   old-locale = self.old-locale_1_0_0_7;
   old-time = self.old-time_1_1_0_3;
 
@@ -56,4 +56,13 @@ self: super: {
     patchPhase = "sed -i -e 's|base >= 3 && < 4.8|base|' utf8-string.cabal";
   });
 
+  # Test suite fails with some (seemingly harmless) error.
+  # https://code.google.com/p/scrapyourboilerplate/issues/detail?id=24
+  syb = overrideCabal super.syb (drv: { doCheck = false; });
+
+  # doctest doesn't work with GHC 7.10.x.
+  # https://github.com/sol/doctest/issues/94
+  cabal2nix = overrideCabal super.cabal2nix (drv: { doCheck = false; });
+  hackage-db = overrideCabal super.hackage-db (drv: { doCheck = false; });
+  hsemail = overrideCabal super.hsemail (drv: { doCheck = false; });
 }