From cb6beb1eb3d22d9a7b6e01dc784157c2ac34db67 Mon Sep 17 00:00:00 2001 From: Charles Strahan Date: Mon, 25 Jan 2016 20:16:12 -0500 Subject: [PATCH] ghcjs: build haddock documentation From building reflex-dom (which has quite a few dependencies), it would appear that building the documentation no longer fails. --- pkgs/development/haskell-modules/configuration-ghcjs.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-ghcjs.nix b/pkgs/development/haskell-modules/configuration-ghcjs.nix index 9bea0519151d..6e8c0be7d0d9 100644 --- a/pkgs/development/haskell-modules/configuration-ghcjs.nix +++ b/pkgs/development/haskell-modules/configuration-ghcjs.nix @@ -14,10 +14,6 @@ self: super: { inherit (pkgs.haskell.packages.ghc7102) jailbreak-cabal alex happy gtk2hs-buildtools; - # Many packages fail with: - # haddock: internal error: expectJust getPackageDetails - mkDerivation = drv: super.mkDerivation (drv // { doHaddock = false; }); - # This is the list of packages that are built into a booted ghcjs installation # It can be generated with the command: # nix-shell -p haskell.packages.ghcjs.ghc --command "ghcjs-pkg list | sed -n 's/^ \(.*\)-\([0-9.]*\)$/\1_\2/ p' | sed 's/\./_/g' | sed 's/-\(.\)/\U\1/' | sed 's/^\([^_]*\)\(.*\)$/\1 = null;/'"