From 736ff4ae2a4d7b07c7f15f84a30a1b43b3eed26b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 15 Dec 2013 19:40:48 +0100 Subject: [PATCH] haskell-quickcheck-io: override versions of HUnit and QuickCheck on older versions of Haskell Platform --- pkgs/top-level/haskell-defaults.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pkgs/top-level/haskell-defaults.nix b/pkgs/top-level/haskell-defaults.nix index 19fcb98c82d9..2dd5b0ca3df1 100644 --- a/pkgs/top-level/haskell-defaults.nix +++ b/pkgs/top-level/haskell-defaults.nix @@ -63,6 +63,10 @@ prettyShow = self.prettyShow_1_2; bmp = self.bmp_1_2_2_1; Cabal_1_18_1_2 = self.Cabal_1_18_1_2.override { deepseq = self.deepseq_1_3_0_2; }; + quickcheckIo = self.quickcheckIo.override { + HUnit = self.HUnit_1_2_5_2; + QuickCheck = self.QuickCheck2; + }; }; ghc703Prefs = @@ -75,6 +79,10 @@ prettyShow = self.prettyShow_1_2; bmp = self.bmp_1_2_2_1; Cabal_1_18_1_2 = self.Cabal_1_18_1_2.override { deepseq = self.deepseq_1_3_0_2; }; + quickcheckIo = self.quickcheckIo.override { + HUnit = self.HUnit_1_2_5_2; + QuickCheck = self.QuickCheck2; + }; }; ghc702Prefs = ghc701Prefs; @@ -89,6 +97,10 @@ prettyShow = self.prettyShow_1_2; bmp = self.bmp_1_2_2_1; Cabal_1_18_1_2 = self.Cabal_1_18_1_2.override { deepseq = self.deepseq_1_3_0_2; }; + quickcheckIo = self.quickcheckIo.override { + HUnit = self.HUnit_1_2_5_2; + QuickCheck = self.QuickCheck2; + }; }; ghc6123Prefs = ghc6122Prefs; @@ -108,6 +120,10 @@ mtl = self.mtl_2_1_2; HTTP = self.HTTP_4000_1_1.override { mtl = self.mtl_2_1_2; }; }; + quickcheckIo = self.quickcheckIo.override { + HUnit = self.HUnit_1_2_5_2; + QuickCheck = self.QuickCheck2; + }; }; ghc6121Prefs = @@ -127,6 +143,10 @@ mtl = self.mtl_2_1_2; HTTP = self.HTTP_4000_1_1.override { mtl = self.mtl_2_1_2; }; }; + quickcheckIo = self.quickcheckIo.override { + HUnit = self.HUnit_1_2_5_2; + QuickCheck = self.QuickCheck2; + }; }; ghc6104Prefs =