haskell-configuration-ghc-7.6.x.nix: add missing definition for "xhtml"

hackage-packages.nix contains no "xhtml" attribute because our default
compiler -- GHC 7.10.x -- has this package as a core module. Now, the
package is missing for older versions of GHC. This patch Remedies that
issue for 7.6.x. Older compilers probably need a similar fix.

Closes https://github.com/NixOS/nixpkgs/pull/7510.
This commit is contained in:
Peter Simons 2015-04-22 17:25:04 +02:00
parent 0fd1cac36f
commit c209665763

View file

@ -33,12 +33,11 @@ self: super: {
time = null;
unix = null;
# transformers is not a core library for this compiler.
transformers = self.transformers_0_4_3_0;
# haskeline and terminfo are not core libraries for this compiler.
# These packages are core libraries in GHC 7.10.x, but not here.
haskeline = self.haskeline_0_7_2_1;
terminfo = self.terminfo_0_4_0_1;
transformers = self.transformers_0_4_3_0;
xhtml = self.xhtml_3000_2_1;
# https://github.com/haskell/cabal/issues/2322
Cabal_1_22_3_0 = super.Cabal_1_22_3_0.override { binary = self.binary_0_7_4_0; };