git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commitc2096657634aea99464e0a480989209285228789 authorPeter Simons <simons@cryp.to> dateWed 22 Apr 2015, 17:25 (12 years ago) parent0fd1cac
1 file changed+3−4
pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix+3−4
pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix+3−4
@@ -33,12 +33,11 @@ self: super: {
3333 time = null;
3434 unix = null;
3535
36− # transformers is not a core library for this compiler.
37− transformers = self.transformers_0_4_3_0;
38−
39− # haskeline and terminfo are not core libraries for this compiler.
36+ # These packages are core libraries in GHC 7.10.x, but not here.
4037 haskeline = self.haskeline_0_7_2_1;
4138 terminfo = self.terminfo_0_4_0_1;
39+ transformers = self.transformers_0_4_3_0;
40+ xhtml = self.xhtml_3000_2_1;
4241
4342 # https://github.com/haskell/cabal/issues/2322
4443 Cabal_1_22_3_0 = super.Cabal_1_22_3_0.override { binary = self.binary_0_7_4_0; };