3
0
Fork 0
forked from mirrors/nixpkgs

ghcjs: build haddock documentation

From building reflex-dom (which has quite a few dependencies), it would
appear that building the documentation no longer fails.
This commit is contained in:
Charles Strahan 2016-01-25 20:16:12 -05:00
parent f8fc5a4dbb
commit cb6beb1eb3

View file

@ -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;/'"