summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-04-22 17:25:04 +0200
committerPeter Simons <simons@cryp.to>2015-04-23 11:34:05 +0200
commitc2096657634aea99464e0a480989209285228789 (patch)
tree8b48d30ed3ab5767f5ee58e862e0265d02401584 /pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
parent0fd1cac36f6260a37846463b3bcb97e4605606eb (diff)
downloadnixpkgs-c2096657634aea99464e0a480989209285228789.tar
nixpkgs-c2096657634aea99464e0a480989209285228789.tar.gz
nixpkgs-c2096657634aea99464e0a480989209285228789.tar.bz2
nixpkgs-c2096657634aea99464e0a480989209285228789.tar.lz
nixpkgs-c2096657634aea99464e0a480989209285228789.tar.xz
nixpkgs-c2096657634aea99464e0a480989209285228789.tar.zst
nixpkgs-c2096657634aea99464e0a480989209285228789.zip
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.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
index 0100aade358..50f9585f505 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
@@ -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; };