From c2096657634aea99464e0a480989209285228789 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 22 Apr 2015 17:25:04 +0200 Subject: [PATCH] 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. --- .../haskell-modules/configuration-ghc-7.6.x.nix | 7 +++---- 1 file 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 0100aade358b..50f9585f5059 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; };