haskell-packages.nix: disable repaExamples in all instances of haskellPackages older than GHC 7.2

Without this hack, "nix-env -u *" would update repa-examples to the GHC 7.0.4
version, because the package isn't tagged with the version of the compiler.
Repa and friends don't build with older GHCs anymore, though.

svn path=/nixpkgs/trunk/; revision=29094
This commit is contained in:
Peter Simons 2011-09-07 17:29:59 +00:00
parent 05db155ad3
commit 437f2b0603

View file

@ -194,6 +194,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
haskellPlatform = self.haskellPlatform_2011_2_0_1;
mtl1 = self.mtl_1_1_1_1;
text = self.text_0_11_1_5;
repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u
};
haskellPlatform_2011_2_0_1 =
@ -235,6 +236,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
self : self.haskellPlatformArgs_2011_2_0_0 self // {
haskellPlatform = self.haskellPlatform_2011_2_0_0;
mtl1 = self.mtl_1_1_1_1;
repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u
};
haskellPlatform_2011_2_0_0 =
@ -272,6 +274,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
haskellPlatformDefaults_2010_2_0_0 =
self : self.haskellPlatformArgs_2010_2_0_0 self // {
haskellPlatform = self.haskellPlatform_2010_2_0_0;
repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u
};
haskellPlatform_2010_2_0_0 =
@ -308,6 +311,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
self : self.haskellPlatformArgs_2010_1_0_0 self // {
haskellPlatform = self.haskellPlatform_2010_1_0_0;
extensibleExceptions = self.extensibleExceptions_0_1_1_0;
repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u
};
haskellPlatform_2010_1_0_0 =
@ -345,6 +349,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
self : self.haskellPlatformArgs_2009_2_0_2 self // {
haskellPlatform = self.haskellPlatform_2009_2_0_2;
extensibleExceptions = self.extensibleExceptions_0_1_1_0;
repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u
};
haskellPlatform_2009_2_0_2 =